diff options
| author | Sunil Khatri <[email protected]> | 2024-09-26 07:59:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-01 21:40:31 +0000 |
| commit | 3138ab2c5b32ec3c8e18db3cbbdd4ecdc8e41f65 (patch) | |
| tree | 703deeb429162b8a873c5bc14f98a6ecab94f99c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: update the handle ptr in early_init (diff) | |
| download | kernel-3138ab2c5b32ec3c8e18db3cbbdd4ecdc8e41f65.tar.gz kernel-3138ab2c5b32ec3c8e18db3cbbdd4ecdc8e41f65.zip | |
drm/amdgpu: update the handle ptr in late_init
Update the ptr handle to amdgpu_ip_block ptr in all
the functions of late_init function ptr.
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 4dccadea220a..6677c82b902b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3196,7 +3196,7 @@ static int amdgpu_device_ip_late_init(struct amdgpu_device *adev) if (!adev->ip_blocks[i].status.hw) continue; if (adev->ip_blocks[i].version->funcs->late_init) { - r = adev->ip_blocks[i].version->funcs->late_init((void *)adev); + r = adev->ip_blocks[i].version->funcs->late_init(&adev->ip_blocks[i]); if (r) { DRM_ERROR("late_init of IP block <%s> failed %d\n", adev->ip_blocks[i].version->funcs->name, r); |
