diff options
author | Jonathan Kim | 2023-06-02 13:52:04 -0400 |
---|---|---|
committer | Alex Deucher | 2023-06-09 12:37:50 -0400 |
commit | 9bd443cb74bd47d820c3cc31ee0ed3008d004d73 (patch) | |
tree | f5fc25d0d7923d1b71cf558960a1c3db055da483 | |
parent | 75c2b7ed080d7421157c03064be82275364136e7 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c index 6df215aba4c4..625db444df1c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c @@ -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) |