summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-25 06:26:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-02 00:36:17 +0300
commitd60e78bdef1c6c7298f004e71934668daf963302 (patch)
treed686a5027132eee3394ca95913fc75b9b9968e51 /drivers/gpu/drm/amd/include/amd_shared.h
parent181db30bcfed097ecc680539b1eabe935c11f57f (diff)
downloadlinux-d60e78bdef1c6c7298f004e71934668daf963302.tar.xz
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/include/amd_shared.h')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index cbb19895ddaf..9b02ab1c2048 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -402,7 +402,7 @@ struct amd_ip_funcs {
enum amd_powergating_state state);
void (*get_clockgating_state)(void *handle, u64 *flags);
void (*dump_ip_state)(struct amdgpu_ip_block *ip_block);
- void (*print_ip_state)(void *handle, struct drm_printer *p);
+ void (*print_ip_state)(struct amdgpu_ip_block *ip_block, struct drm_printer *p);
};