[PATCH] drm/amdgpu: fix debug wait on idle for gfx9.4.1
Felix Kuehling
felix.kuehling at amd.com
Fri Jun 2 17:45:01 UTC 2023
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 at amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
>> ---
>> 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)
More information about the amd-gfx
mailing list