diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2017-07-28 13:11:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:16:01 -0400 |
commit | 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f (patch) | |
tree | 85ad2a4cc10b8ef3a765aa92dd62a8607b6f5ff1 /drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h | |
parent | d54d29db47cdbe1f26776f2d03320ca56c5271fa (diff) |
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/ipp.h')
0 files changed, 0 insertions, 0 deletions