linux_dsm_epyc7002/drivers/gpu/drm/amd
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
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: fix NULL ptr dref in the VM code 2019-02-07 14:03:18 -05:00
amdkfd drm/amdkfd: Don't assign dGPUs to APU topology devices 2019-01-14 15:37:33 -05:00
display drm/amd/display: Check hpd_gpio for NULL before accessing it 2019-02-07 17:22:12 -05:00
include drm/amd/powerplay: support retrieving and adjusting dcefclock power levels V2 2019-01-25 16:15:34 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: add override pcie parameters for Vega20 (v2) 2019-02-07 14:03:18 -05:00