drm/amdgpu: use the callback function for reset status polling on IMU
authorHuang Rui <ray.huang@amd.com>
Fri, 20 May 2022 03:04:05 +0000 (11:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:44:15 +0000 (16:44 -0400)
commit16600b7d66367482dc8526f8bc3a30b32aaef329
tree8f18a926c9b734b1ce78f326386a6ee0f3a1ac85
parent9fe5d08fc8230adb64128986ee4af267a54e56dd
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 <alexander.deucher@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_imu.h
drivers/gpu/drm/amd/amdgpu/imu_v11_0.c