diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-09-30 15:08:44 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-01 17:45:51 -0400 |
commit | e15ec812b52951e9816ae2d47361fe6b82a8ba3b (patch) | |
tree | 53f8ca06dbed3037cb71d3b5479652b5679e978e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 0ef2a1e7aff53967958c2b87eecfac61cd9ed213 (diff) | |
download | linux-e15ec812b52951e9816ae2d47361fe6b82a8ba3b.tar.gz linux-e15ec812b52951e9816ae2d47361fe6b82a8ba3b.tar.bz2 linux-e15ec812b52951e9816ae2d47361fe6b82a8ba3b.zip |
drm/amdgpu: update the handle ptr in post_soft_reset
Update the *handle to amdgpu_ip_block ptr for all
functions pointers of post_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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 041eef115b21..22f1af36317d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -5070,7 +5070,7 @@ static int amdgpu_device_ip_post_soft_reset(struct amdgpu_device *adev) continue; if (adev->ip_blocks[i].status.hang && adev->ip_blocks[i].version->funcs->post_soft_reset) - r = adev->ip_blocks[i].version->funcs->post_soft_reset(adev); + r = adev->ip_blocks[i].version->funcs->post_soft_reset(&adev->ip_blocks[i]); if (r) return r; } |