diff options
author | 2017-07-28 13:11:00 -0400 | |
---|---|---|
committer | 2017-09-26 18:16:01 -0400 | |
commit | 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f (patch) | |
tree | 85ad2a4cc10b8ef3a765aa92dd62a8607b6f5ff1 /drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h | |
parent | drm/amd/display: Move and Rename "is_stream_changed()" (diff) | |
download | linux-dev-9b690ef3c70422cdcd0cf912db33f2c92ef4a53f.tar.xz linux-dev-9b690ef3c70422cdcd0cf912db33f2c92ef4a53f.zip |
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/link_encoder.h')
0 files changed, 0 insertions, 0 deletions