Skip to contentSkip to conversation

New: Unable to shut down - radeon_drv.c - radeon_suspend_kms()

Bug 205147 [email protected] 1 participant 6 messages Oct 9, 2019 – Dec 15, 2020

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=205147

            Bug ID: 205147
           Summary: Unable to shut down - radeon_drv.c -
                    radeon_suspend_kms()
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.3.5
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

From the 5.3.5 changelog:

drm/radeon: Fix EEH during kexec

[ Upstream commit 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 ]

During kexec some adapters hit an EEH since they are not properly shut down in the radeon_pci_shutdown() function. Adding radeon_suspend_kms() fixes this issue.

This commit creates a problem where I can't shut down or restart my system without pressing the Rest button. The problem is solved by commenting out the call to radeon_suspend_kms() in radeon_pci_shutdown.

The gpu hardware is an ATI Radeon HD5770 in a PCI-E slot on an Intel DG41RQ MB.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 205147] Unable to shut down - radeon_drv.c - radeon_suspend_kms()

https://bugzilla.kernel.org/show_bug.cgi?id=205147

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) --- Will revert.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 205147] Unable to shut down - radeon_drv.c - radeon_suspend_kms()

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=205147

wwa ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from wwa ([email protected]) ---
Hi,

I also have same problem and
can confirm that reverting commit 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 fixes it.

my hardware:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770], PCI-E,
on a MICRO-STAR INTERNATIONAL CO.,LTD MS-7599/770-C45 (MS-7599), BIOS V1.15 03/04/2011

(this bug kind of reminds me of
https://bugs.freedesktop.org/show_bug.cgi?id=99524)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 205147] Unable to shut down - radeon_drv.c - radeon_suspend_kms()

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=205147

--- Comment #3 from Alex Deucher ([email protected]) --- Revert queued:
https://lists.freedesktop.org/archives/amd-gfx/2019-October/041381.html
Should land this week.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 205147] Unable to shut down - radeon_drv.c - radeon_suspend_kms()

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=205147

--- Comment #4 from Alex Deucher ([email protected]) --- Reverted:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8d13c187c42e110625d60094668a8f778c092879

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 205147] Unable to shut down - radeon_drv.c - radeon_suspend_kms()

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=205147

Richard Herbert ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #5 from Richard Herbert ([email protected]) --- Sorry for not closing a LONG time ago.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel