diff options
| author | 2024-09-25 08:56:40 +0530 | |
|---|---|---|
| committer | 2024-10-01 17:36:17 -0400 | |
| commit | d60e78bdef1c6c7298f004e71934668daf963302 (patch) | |
| tree | d686a5027132eee3394ca95913fc75b9b9968e51 /drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | |
| parent | drm/amd/display: Enable idle workqueue for more IPS modes (diff) | |
| download | wireguard-linux-d60e78bdef1c6c7298f004e71934668daf963302.tar.xz wireguard-linux-d60e78bdef1c6c7298f004e71934668daf963302.zip | |
drm/amdgpu: update the handle ptr in print_ip_state
Update the ptr handle to amdgpu_ip_block ptr in all
the functions affected.
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/vcn_v4_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c index 17ea10c14e29..d3aa1a5b2529 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c @@ -2158,9 +2158,9 @@ static void vcn_v4_0_set_irq_funcs(struct amdgpu_device *adev) } } -static void vcn_v4_0_print_ip_state(void *handle, struct drm_printer *p) +static void vcn_v4_0_print_ip_state(struct amdgpu_ip_block *ip_block, struct drm_printer *p) { - struct amdgpu_device *adev = (struct amdgpu_device *)handle; + struct amdgpu_device *adev = ip_block->adev; int i, j; uint32_t reg_count = ARRAY_SIZE(vcn_reg_list_4_0); uint32_t inst_off, is_powered; |
