linux/drivers/gpu/drm/amd
Qingqing Zhuo 73644143b3 drm/amd/display: NULL pointer hang
[Why]
In dc_link_dp_set_test_pattern, we assume all pipes have a stream, which
can cause null pointer dereference.

[How]
Add a null pointer check before accessing stream.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-14 00:17:16 -05:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/psp: fix psp gfx ctrl cmds 2021-01-14 00:15:58 -05:00
amdkfd drm/amdkfd: PCIe atomics required for gfx10 2020-12-17 16:43:14 -05:00
display drm/amd/display: NULL pointer hang 2021-01-14 00:17:16 -05:00
include drm/amdgpu: new macro for determining 2ND_USB20PORT support 2020-12-10 16:41:49 -05:00
pm drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO 2021-01-06 16:20:30 -05:00