1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd/display/dc
Harry Wentland 0461221316 drm/amd/display: Check hpd_gpio for NULL before accessing it
dal_gpio_open and dal_gpio_unlock_pin dereference hpd_gpio.
Check for NULL before calling those functions.

Fixes: ac627caf6b ("drm/amd/display: add gpio lock/unlock")
Reported-by: Przemek Socha <soprwa@gmail.com>
CC: Chiawen Huang <chiawen.huang@amd.com>
CC: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-07 17:22:12 -05:00
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
calcs drm/amdgpu/display: fix compiler errors [-Werror,-Wparentheses-equality] 2019-02-06 13:29:19 -05:00
core drm/amd/display: Check hpd_gpio for NULL before accessing it 2019-02-07 17:22:12 -05:00
dce drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
dce80 drm/amd/display: fix eDP fast bootup for pre-raven asic 2019-01-25 16:15:36 -05:00
dce100 drm/amd/display: fix eDP fast bootup for pre-raven asic 2019-01-25 16:15:36 -05:00
dce110 drm/amd/display: add n_vid_mul and half pix_rate for odm 2019-02-06 13:31:29 -05:00
dce112 drm/amd/display: fix eDP fast bootup for pre-raven asic 2019-01-25 16:15:36 -05:00
dce120 drm/amd/display: fix eDP fast bootup for pre-raven asic 2019-01-25 16:15:36 -05:00
dcn10 drm/amd/display: add n_vid_mul and half pix_rate for odm 2019-02-06 13:31:29 -05:00
dml Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines" 2019-01-29 15:16:18 -05:00
gpio drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
inc drm/amd/display: refactor init_hw to isolate pipe related init 2019-02-06 13:31:22 -05:00
irq Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
Makefile drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dc.h drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
dc_bios_types.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Set link rate set if eDP ver >= 1.4. 2019-01-14 15:40:08 -05:00
dc_helper.c drm/amd/display: refactor reg_update 2019-01-14 15:38:40 -05:00
dc_hw_types.h drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dc_link.h drm/amd/display: add way to determine if link is active 2019-02-06 13:30:59 -05:00
dc_stream.h drm/amd/display: add seamless boot flag to stream 2019-02-06 13:31:07 -05:00
dc_types.h drm/amd/display: Add monitor patch for backlight off 2019-02-05 21:16:23 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Poll pending down rep before clear payload allocation table 2019-01-28 11:43:46 -05:00
dm_pp_smu.h drm/amd/display: Add a PP_SMU_VER_MAX enum 2019-01-14 15:04:31 -05:00
dm_services.h drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
dm_services_types.h drm/amd/display: change the max clock level to 16 2019-01-25 16:15:35 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
os_types.h amd-gpu: Don't undefine READ and WRITE 2018-10-24 00:36:12 +01:00