summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-30 14:05:49 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-01 17:43:33 -0400
commit47d827f9c77bc87ccdb0fdefa95a2d6d28037497 (patch)
treea10aecea1e1e337513054cbf3a7e81fe98a97e6f /drivers/gpu/drm/amd/include/amd_shared.h
parent904c402e971af450789be8f59e4d8ef52fc69cde (diff)
drm/amdgpu: update the handle ptr in late_fini
Update the *handle to amdgpu_ip_block ptr for all functions pointers of late_fini. 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 980a6a740689..615f880d3e80 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -386,7 +386,7 @@ struct amd_ip_funcs {
int (*early_fini)(struct amdgpu_ip_block *ip_block);
int (*hw_init)(void *handle);
int (*hw_fini)(void *handle);
- void (*late_fini)(void *handle);
+ void (*late_fini)(struct amdgpu_ip_block *ip_block);
int (*prepare_suspend)(void *handle);
int (*suspend)(void *handle);
int (*resume)(void *handle);