drm/amdgpu: fix debug wait on idle for gfx9.4.1

Wait calls for amd_ip_block_type not amd_hw_ip_block_type.

Reported-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Jonathan Kim 2023-06-02 13:52:04 -04:00 committed by Alex Deucher
parent 75c2b7ed08
commit 9bd443cb74
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ out:
if (!suspend || r)
return r;
return amdgpu_device_ip_wait_for_idle(adev, GC_HWIP);
return amdgpu_device_ip_wait_for_idle(adev, AMD_IP_BLOCK_TYPE_GFX);
}
static void set_barrier_auto_waitcnt(struct amdgpu_device *adev, bool enable_waitcnt)