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/display/amdgpu_dm/amdgpu_dm.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/display/amdgpu_dm/amdgpu_dm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index f597a25b7646..1a1b35fe1fc4 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -2598,9 +2598,9 @@ static int detect_mst_link_for_all_connectors(struct drm_device *dev) return ret; } -static int dm_late_init(void *handle) +static int dm_late_init(struct amdgpu_ip_block *ip_block) { - struct amdgpu_device *adev = (struct amdgpu_device *)handle; + struct amdgpu_device *adev = ip_block->adev; struct dmcu_iram_parameters params; unsigned int linear_lut[16]; |
