diff options
| author | Sunil Khatri <[email protected]> | 2024-09-26 15:17:32 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-01 21:40:43 +0000 |
| commit | 36aa9ab9c0c4a41fe334ab39951773f21709f89d (patch) | |
| tree | 72a9b3e87e9b28b53c0e535fad155acd2138eac3 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: update the handle ptr in sw_init (diff) | |
| download | kernel-36aa9ab9c0c4a41fe334ab39951773f21709f89d.tar.gz kernel-36aa9ab9c0c4a41fe334ab39951773f21709f89d.zip | |
drm/amdgpu: update the handle ptr in sw_fini
update the *handle to amdgpu_ip_block ptr for all
functions pointers of sw_fini.
Signed-off-by: Sunil Khatri <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 dcdb62b0552c..14bffa031786 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3378,7 +3378,7 @@ static int amdgpu_device_ip_fini(struct amdgpu_device *adev) amdgpu_seq64_fini(adev); } - r = adev->ip_blocks[i].version->funcs->sw_fini((void *)adev); + r = adev->ip_blocks[i].version->funcs->sw_fini(&adev->ip_blocks[i]); /* XXX handle errors */ if (r) { DRM_DEBUG("sw_fini of IP block <%s> failed %d\n", |
