aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
diff options
context:
space:
mode:
authorHuang Rui <[email protected]>2022-05-20 03:04:05 +0000
committerAlex Deucher <[email protected]>2022-06-03 20:44:15 +0000
commit16600b7d66367482dc8526f8bc3a30b32aaef329 (patch)
tree8f18a926c9b734b1ce78f326386a6ee0f3a1ac85 /drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
parentdrm/amd/display: Ensure that DMCUB fw in use is loaded by DC and not VBIOS (diff)
downloadkernel-16600b7d66367482dc8526f8bc3a30b32aaef329.tar.gz
kernel-16600b7d66367482dc8526f8bc3a30b32aaef329.zip
drm/amdgpu: use the callback function for reset status polling on IMU
Switch to use the callback function to poll the reset status on IMU. Because it will have different sequency on other ASICs. v2: drop unused variable (Alex) Acked-by: Alex Deucher <[email protected]> Signed-off-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
index cfc4a92837f0..484e936812e4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
@@ -35,6 +35,7 @@ struct amdgpu_imu_funcs {
void (*setup_imu)(struct amdgpu_device *adev);
int (*start_imu)(struct amdgpu_device *adev);
void (*program_rlc_ram)(struct amdgpu_device *adev);
+ int (*wait_for_reset_status)(struct amdgpu_device *adev);
};
struct imu_rlc_ram_golden {