Files
linux/drivers
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
..
2020-10-28 19:12:03 +01:00
2021-01-13 23:42:45 -05:00
2020-09-28 12:17:36 +02:00
2020-10-20 10:36:41 -07:00
2020-11-02 09:32:46 -08:00
2020-09-25 06:12:15 +02:00
2020-10-27 19:23:04 +01:00
2020-11-17 11:00:43 +01:00