aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2018-10-18 19:49:41 +0000
committerAlex Deucher <[email protected]>2018-11-05 19:21:42 +0000
commitf41a895026b8cb6f765190de7d2e7bc3ccbbd183 (patch)
tree37c81940dce568e3dff46d99b5d23d712c2f7c9e /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/display: fix mirror rotation scaling math (diff)
downloadkernel-f41a895026b8cb6f765190de7d2e7bc3ccbbd183.tar.gz
kernel-f41a895026b8cb6f765190de7d2e7bc3ccbbd183.zip
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 <[email protected]> Reviewed-by: David Francis <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions