linux_dsm_epyc7002/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas dddc0557e3 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 <nicholas.kazlauskas@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-08-13 17:29:44 -05:00
..
amdgpu_dm_color.c drm/amd/display: Implement custom degamma lut on dcn 2018-08-06 14:35:25 -05:00
amdgpu_dm_crc.c drm/amd/display: Guard against null crtc in CRC IRQ 2018-08-13 17:29:44 -05:00
amdgpu_dm_debugfs.c drm/amd/display: dp debugfs allow link rate lane count greater than dp rx reported caps 2018-07-13 14:51:53 -05:00
amdgpu_dm_debugfs.h drm/amd/display: Add front end for dp debugfs files 2018-07-05 16:38:38 -05:00
amdgpu_dm_helpers.c drm/amd/display: Add hook for MST root branch info 2018-07-16 16:11:49 -05:00
amdgpu_dm_irq.c drm/amd/display: Do not program interrupt status on disabled crtc 2018-05-29 13:30:38 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c Merge branch 'drm-next-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-07-20 14:54:31 +10:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_pp_smu.c drm/amd/display: Convert 10kHz clks from PPLib into kHz 2018-07-20 14:24:10 -05:00
amdgpu_dm_services.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
amdgpu_dm.c drm/amd/display: Read back max backlight value at boot 2018-08-06 14:35:24 -05:00
amdgpu_dm.h drm/amdgpu/display: drop DRM_AMD_DC_FBC kconfig option 2018-06-15 12:20:29 -05:00
Makefile drm/amd/display: Moving powerplay functions to a separate class 2018-07-05 16:38:41 -05:00