]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: trigger ip dump before suspend of IP's
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 26 Jul 2024 12:37:41 +0000 (18:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 27 Jul 2024 21:34:26 +0000 (17:34 -0400)
commit13d8850a3387635c051c5ed1c8a8b6c1e9bd1341
tree6636a7e5e7ea6719525ca6bedd16a76b43e84d4d
parenta15268787b79fd183dd526cc16bec9af4f4e49a1
drm/amdgpu: trigger ip dump before suspend of IP's

Problem:
IP dump right now is done post suspend of all
IP's which for some IP's could change power
state and software state too which we do not want
to reflect in the dump as it might not be same at
the time of hang.

Solution:
IP should be dumped as close to the HW state when
the GPU was in hung state without trying to reinitialize
any resource.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c