summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-10-17 16:47:22 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-23 00:50:39 +0300
commite095026f0066eca05268b20a6f378cf31bedc54b (patch)
treeea958eefac83c657404dccf764bea116a4db3b35 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentdad01f93f432d4a2456860f7f55fdb762d2982a4 (diff)
downloadlinux-e095026f0066eca05268b20a6f378cf31bedc54b.tar.xz
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 <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/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions