aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2018-08-03 14:40:20 +0000
committerAlex Deucher <[email protected]>2018-08-13 22:29:44 +0000
commitdddc0557e3a02499ce336b1e2e67f5afaecccc80 (patch)
tree04b7289bad3a6e91dabc2fc69bf05ea44c1089bc /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
parentdrm/amd/display: Pass connector id when executing VBIOS CT (diff)
downloadkernel-dddc0557e3a02499ce336b1e2e67f5afaecccc80.tar.gz
kernel-dddc0557e3a02499ce336b1e2e67f5afaecccc80.zip
drm/amd/display: Guard against null crtc in CRC IRQ
[Why] A null pointer deference can occur if crtc is null in amdgpu_dm_crtc_handle_crc_irq. This can happen if get_crtc_by_otg_inst returns NULL during dm_crtc_high_irq, leading to a hang in some IGT test cases. [How] Check that CRTC is non-null before accessing its fields. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Sun peng Li <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
0 files changed, 0 insertions, 0 deletions