diff options
| author | Sunil Khatri <[email protected]> | 2024-10-17 13:47:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-22 21:50:39 +0000 |
| commit | e095026f0066eca05268b20a6f378cf31bedc54b (patch) | |
| tree | ea958eefac83c657404dccf764bea116a4db3b35 /drivers/gpu/drm/amd/amdgpu/si.c | |
| parent | drm/amdgpu: validate hw_fini before function call (diff) | |
| download | kernel-e095026f0066eca05268b20a6f378cf31bedc54b.tar.gz kernel-e095026f0066eca05268b20a6f378cf31bedc54b.zip | |
drm/amdgpu: validate suspend before function call
Before making a function call to suspend, validate
the function pointer like we do in sw_init.
Use the helper function amdgpu_ip_block_suspend where
same checks and calls are repeated.
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/amdgpu/si.c')
0 files changed, 0 insertions, 0 deletions
