diff options
| author | Sunil Khatri <[email protected]> | 2024-09-30 11:30:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-07 18:02:45 +0000 |
| 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 | kernel-982d7f9bfe4a50334543ef97808615693d7ac29e.tar.gz kernel-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 <[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.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); |
