diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-09-30 13:30:38 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-07 20:02:45 +0200 |
commit | 982d7f9bfe4a50334543ef97808615693d7ac29e (patch) | |
tree | cbc5e6489b75bfe0c56f8fad257ebbb1161c86bf /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | drm/amdgpu: update the handle ptr in wait_for_idle (diff) | |
download | linux-982d7f9bfe4a50334543ef97808615693d7ac29e.tar.xz linux-982d7f9bfe4a50334543ef97808615693d7ac29e.zip |
drm/amdgpu: update the handle ptr in suspend
Update the *handle to amdgpu_ip_block ptr for all
functions pointers of suspend.
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.h | 2 |
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 d095a73e7e6d..9110a3ad4893 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -388,7 +388,7 @@ struct amd_ip_funcs { int (*hw_fini)(void *handle); void (*late_fini)(struct amdgpu_ip_block *ip_block); int (*prepare_suspend)(struct amdgpu_ip_block *ip_block); - int (*suspend)(void *handle); + int (*suspend)(struct amdgpu_ip_block *ip_block); int (*resume)(void *handle); bool (*is_idle)(void *handle); int (*wait_for_idle)(struct amdgpu_ip_block *ip_block); |