]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ae3d14cb94a68a01fb727f18dc83726bc67451f
tree8f18a926c9b734b1ce78f326386a6ee0f3a1ac85
parentb6cbf82b0e6d1f64a08bc2adb575e01e474e2d88
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