Files
linux/drivers/gpu/drm
Nicholas Kazlauskas f41a895026 drm/amd/display: Guard against null stream_state in set_crc_source
[Why]

The igt@kms_plane@pixel-format-pipe tests can create a sequence where
stream_state is NULL during amdgpu_dm_crtc_set_crc_source which results
in a null pointer dereference.

[How]

Guard against stream_state being NULL before accessing its fields. This
doesn't fix the root cause of the issue so a DRM_ERROR is generated
to still fail the tests.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-11-05 14:21:42 -05:00
..
2018-09-09 14:19:18 +02:00
…
…
…
2018-10-02 09:36:56 +03:00
…
…
…
2018-09-27 02:54:54 -04:00
2018-09-27 02:54:54 -04:00
…
…
2018-11-05 14:21:21 -05:00
…
2018-07-13 18:40:28 +02:00
2018-10-04 11:03:34 +10:00
…
2018-11-05 14:21:21 -05:00