drm/amdgpu: dump ip state before reset for each ip
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 16 Apr 2024 11:26:23 +0000 (16:56 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:39 +0000 (17:22 -0400)
commite043a35dc244b72809cf3a1b8ff315dcb941c63a
treeed2e4d6b221933e7bd66e7c3543da2a0e4cdfa23
parentc8732c80debb276c36de395a1a8f40c33cf10830
drm/amdgpu: dump ip state before reset for each ip

Invoke the dump_ip_state function for each ip before
the asic resets and save the register values for
debugging via devcoredump.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c