diff options
| author | Nicholas Kazlauskas <[email protected]> | 2018-09-11 18:29:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-09-27 02:09:07 +0000 |
| commit | d999853e60a00596bb625ab34909cc9317c6dbae (patch) | |
| tree | 40a8fa22d889aa88e0aca5a9f4fa6baff00bf6e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amd/display: Stereo 3D support in VSC (diff) | |
| download | kernel-d999853e60a00596bb625ab34909cc9317c6dbae.tar.gz kernel-d999853e60a00596bb625ab34909cc9317c6dbae.zip | |
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 <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
