diff options
| author | Nikola Cornij <nikola.cornij@amd.com> | 2019-11-04 17:44:23 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-19 10:12:53 -0500 |
| commit | f6fe4053b91fab916eaf69de48a35f6acc598140 (patch) | |
| tree | 6cbf0b5ecb2b382b879525b9ee9ac56a3be067a5 /drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | |
| parent | a6e4da40bda5682072f1b26b19ce3d25a1b43bf7 (diff) | |
| download | blackbird-op-linux-f6fe4053b91fab916eaf69de48a35f6acc598140.tar.gz blackbird-op-linux-f6fe4053b91fab916eaf69de48a35f6acc598140.zip | |
drm/amd/display: Use a temporary copy of the current state when updating DSC config
[why]
When updating DSC config, a new config has to be validated before proceeding
with applying the update. Validation, however, modifies the current state.
This means DSC config validation would affect pipe re-assignment, causing
intermittent screen corruption issues when ODM is required for DSC.
[how]
- Use a copy of the current state for modified DSC config validation
- Set the update type to FULL_UPDATE to correctly validate and set the
actual state used for committing the streams
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h')
0 files changed, 0 insertions, 0 deletions

