drm/amdgpu: update the handle ptr in pre_soft_reset

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

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 14:37:11 +05:30
committed by Alex Deucher
parent f0b919960d
commit 9d5ee7ce88
10 changed files with 18 additions and 18 deletions

View File

@@ -405,9 +405,9 @@ static bool tonga_ih_check_soft_reset(struct amdgpu_ip_block *ip_block)
}
}
static int tonga_ih_pre_soft_reset(void *handle)
static int tonga_ih_pre_soft_reset(struct amdgpu_ip_block *ip_block)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
struct amdgpu_device *adev = ip_block->adev;
if (!adev->irq.srbm_soft_reset)
return 0;