drm/amdgpu: update the handle ptr in suspend

Update the *handle to amdgpu_ip_block ptr for all
functions pointers of suspend.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Sunil Khatri
2024-09-30 17:00:38 +05:30
committed by Alex Deucher
parent 82ae6619a4
commit 982d7f9bfe
89 changed files with 190 additions and 178 deletions

View File

@@ -533,9 +533,9 @@ static int si_dma_hw_fini(void *handle)
return 0;
}
static int si_dma_suspend(void *handle)
static int si_dma_suspend(struct amdgpu_ip_block *ip_block)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
struct amdgpu_device *adev = ip_block->adev;
return si_dma_hw_fini(adev);
}