Files
linux/drivers/gpu/drm
Qingqing Zhuo 33fd9cb8a2 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-13 23:42:45 -05:00
..
2021-01-13 23:42:45 -05:00
2020-11-15 20:12:17 +01:00
2020-11-10 17:11:37 +01:00
2020-11-13 14:53:34 +10:00
2020-11-06 10:31:26 +01:00
2020-11-16 20:48:20 +01:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2020-11-16 20:48:20 +01:00
2020-08-11 11:58:31 +10:00