diff options
| author | Bhawanpreet Lakha <[email protected]> | 2017-07-28 17:11:00 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-09-26 22:16:01 +0000 |
| commit | 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f (patch) | |
| tree | 85ad2a4cc10b8ef3a765aa92dd62a8607b6f5ff1 /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
| parent | drm/amd/display: Move and Rename "is_stream_changed()" (diff) | |
| download | kernel-9b690ef3c70422cdcd0cf912db33f2c92ef4a53f.tar.gz kernel-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 <[email protected]>
Reviewed-by: Andrey Grodzovsky <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
0 files changed, 0 insertions, 0 deletions
