]> www.infradead.org Git - nvme.git/commit
drm/amdgpu: move kfd_resume before the ip late init
authorTim Huang <Tim.Huang@amd.com>
Thu, 19 Oct 2023 07:50:43 +0000 (15:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Nov 2023 16:08:33 +0000 (11:08 -0500)
commit8ed79c409ecb216ee2b0ec334568a1104505c62a
tree0d387f62314f4d5e8a0ae99f605b0a1f0358d237
parente4c44b1a19625348fc004ce8c5f828d5d80d037e
drm/amdgpu: move kfd_resume before the ip late init

The kfd_resume needs to touch GC registers to enable the interrupts,
it needs to be done before GFXOFF is enabled to ensure that the GFX is
not off and GC registers can be touched. So move kfd_resume before the
amdgpu_device_ip_late_init which enables the CGPG/GFXOFF.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c