From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 214921] amdgpu hangs HP Laptop on shutdown
Date: Sun, 07 Nov 2021 13:21:28 +0000 [thread overview]
Message-ID: <bug-214921-2300-iCkwPp2XCQ@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-214921-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=214921
spasswolf@web.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|5.15 |5.15, 5.15.1
--- Comment #3 from spasswolf@web.de ---
Shutdown still hangs with linux-5.15.1.
This fixes the shutdown issue for me:
diff -aur linux-5.15.1.orig/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
linux-5.15.1/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
--- linux-5.15.1.orig/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 2021-11-06
14:13:31.000000000 +0100
+++ linux-5.15.1/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 2021-11-07
14:19:39.194630084 +0100
@@ -554,18 +554,6 @@
* jobs for clockgating/powergating/dpm setting to
* ->set_powergating_state().
*/
- cancel_delayed_work_sync(&adev->uvd.idle_work);
-
- if (adev->pm.dpm_enabled) {
- amdgpu_dpm_enable_uvd(adev, false);
- } else {
- amdgpu_asic_set_uvd_clocks(adev, 0, 0);
- /* shutdown the UVD block */
- amdgpu_device_ip_set_powergating_state(adev,
AMD_IP_BLOCK_TYPE_UVD,
- AMD_PG_STATE_GATE);
- amdgpu_device_ip_set_clockgating_state(adev,
AMD_IP_BLOCK_TYPE_UVD,
- AMD_CG_STATE_GATE);
- }
if (RREG32(mmUVD_STATUS) != 0)
uvd_v6_0_stop(adev);
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2021-11-07 13:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 2:46 [Bug 214921] New: amdgpu hangs HP Laptop on shutdown bugzilla-daemon
2021-11-04 8:15 ` [Bug 214921] " bugzilla-daemon
2021-11-05 16:21 ` bugzilla-daemon
2021-11-07 13:21 ` bugzilla-daemon [this message]
2021-11-14 20:31 ` bugzilla-daemon
2021-11-15 16:56 ` bugzilla-daemon
2021-11-15 23:19 ` bugzilla-daemon
2021-11-17 16:38 ` bugzilla-daemon
2021-11-28 19:16 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-214921-2300-iCkwPp2XCQ@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox