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 17:04:27 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-23 00:50:39 +0300
commit502d76308d45a9ef79b9266c5a090e9e6954faaa (patch)
treeef164d1642eda454e7faf8654ce46d874732b90c /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parente095026f0066eca05268b20a6f378cf31bedc54b (diff)
downloadlinux-502d76308d45a9ef79b9266c5a090e9e6954faaa.tar.xz
drm/amdgpu: validate resume before function call
Before making a function call to resume, validate the function pointer like we do in sw_init. Use the helper function amdgpu_ip_block_resume 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