Re: [PATCH] drm/amdgpu: fix debug wait on idle for gfx9.4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2023-06-02 12:37, Hamza Mahfooz wrote:
+ amd-gfx

On 6/2/23 11:58, Jonathan Kim wrote:
Wait calls for amd_ip_block_type not amd_hw_ip_block_type.

Signed-off-by: Jonathan Kim <jonathan.kim@xxxxxxx>

Reviewed-by: Felix Kuehling <Felix.Kuehling@xxxxxxx>


---
  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ static int suspend_resume_compute_scheduler(struct amdgpu_device *adev, bool sus
      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)



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux