linux/drivers/gpu/drm/amd/display/amdgpu_dm
Nicholas Kazlauskas d999853e60 drm/amd/display: Guard against null stream dereference in do flip
[Why]

During suspend under some hardware configurations can result in a
series of atomic commits with a NULL stream status - which
causes a NULL pointer dereference. This should be guarded.

[How]

Exit early from the function - if we can't access the stream then
there isn't anything that can be done here.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-09-26 21:09:07 -05:00
..
amdgpu_dm.c drm/amd/display: Guard against null stream dereference in do flip 2018-09-26 21:09:07 -05:00
amdgpu_dm.h Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-09-21 09:52:53 +10:00
amdgpu_dm_color.c drm/amd/display: Use DGAM ROM or RAM 2018-08-27 11:09:58 -05:00
amdgpu_dm_crc.c Merge drm/drm-next into drm-misc-next 2018-08-27 10:00:03 -04:00
amdgpu_dm_debugfs.c drm/amd/display: fix ptr_ret.cocci warnings 2018-09-12 16:29:57 -05:00
amdgpu_dm_debugfs.h drm/amd/display: Add support for hw_state logging via debugfs 2018-08-27 15:20:17 -05:00
amdgpu_dm_helpers.c drm/amd/display: Support reading hw state from debugfs file 2018-08-27 15:20:49 -05:00
amdgpu_dm_irq.c
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-09-21 09:52:53 +10:00
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c drm/amd/dc: Trigger set power state task when display configuration changes 2018-09-26 21:09:03 -05:00
amdgpu_dm_services.c BackMerge v4.18-rc7 into drm-next 2018-07-30 10:39:22 +10:00
Makefile drm/amd/display: Moving powerplay functions to a separate class 2018-07-05 16:38:41 -05:00