]> Gentwo Git Trees - linux/.git/commit
drm/amd: Unify shutdown() callback behavior
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 2 Oct 2025 17:42:39 +0000 (12:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:34 +0000 (14:14 -0400)
commite6af507de8594a3965cbfba9f70b312d4216d5fb
treefba3e9ffd1fd033f4c7227bd64c37849682695b8
parent2e7ceac0ea4192e25936c2186e1c44a550f6d96d
drm/amd: Unify shutdown() callback behavior

[Why]
The shutdown() callback uses amdgpu_ip_suspend() which doesn't notify
drm clients during shutdown.  This could lead to hangs.

[How]
Change amdgpu_pci_shutdown() to call the same sequence as suspend/resume.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c