aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2024-09-30 08:41:22 +0000
committerAlex Deucher <[email protected]>2024-10-01 21:43:38 +0000
commit94b2e07ad493f09e79aceb4942f9065fa100eea6 (patch)
tree6faca6bafdc3465eea8212612914adfe9a7fe75e /drivers/gpu/drm/amd/include/amd_shared.h
parentdrm/amdgpu: update the handle ptr in late_fini (diff)
downloadkernel-94b2e07ad493f09e79aceb4942f9065fa100eea6.tar.gz
kernel-94b2e07ad493f09e79aceb4942f9065fa100eea6.zip
drm/amdgpu: update the handle ptr in prepare_suspend
Update the *handle to amdgpu_ip_block ptr for all functions pointers of prepare_suspend. 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/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 615f880d3e80..1939c0dcdd1d 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -387,7 +387,7 @@ struct amd_ip_funcs {
int (*hw_init)(void *handle);
int (*hw_fini)(void *handle);
void (*late_fini)(struct amdgpu_ip_block *ip_block);
- int (*prepare_suspend)(void *handle);
+ int (*prepare_suspend)(struct amdgpu_ip_block *ip_block);
int (*suspend)(void *handle);
int (*resume)(void *handle);
bool (*is_idle)(void *handle);