summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
diff options
context:
space:
mode:
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>2017-07-28 20:11:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:16:01 +0300
commit9b690ef3c70422cdcd0cf912db33f2c92ef4a53f (patch)
tree85ad2a4cc10b8ef3a765aa92dd62a8607b6f5ff1 /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
parentd54d29db47cdbe1f26776f2d03320ca56c5271fa (diff)
downloadlinux-9b690ef3c70422cdcd0cf912db33f2c92ef4a53f.tar.xz
drm/amd/display: Avoid full modeset when not required
Fix IGT test case (kms_atomic_transition) -DRM sets the mode_changed flag, while we don't need to do a full modeset. -We want to override the mode_changed flag in this case If we don't do this, we will still bypass the modeset in DC. This will fail to update the new stream_status, causing nullptr at a later stage when trying to access stream_status" We now avoid this by discarding the new_stream instead of partially filling it. Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/opp.h')
0 files changed, 0 insertions, 0 deletions