diff options
author | Noah Abradjian <noah.abradjian@amd.com> | 2019-12-13 09:31:20 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-16 14:13:16 -0500 |
commit | d9eb70ae610fea5ff41b9849cc541c8d5f0146db (patch) | |
tree | c9a5d52095b1c46021a6062a3155f641c418c3ff /mm/memory.c | |
parent | 5fb3a1a5a03837ef1036383f943434870d3ed588 (diff) | |
download | linux-d9eb70ae610fea5ff41b9849cc541c8d5f0146db.tar.bz2 |
drm/amd/display: Fix double buffering in dcn2 ICSC
[Why]
When rapidly adjusting video brightness, screen tearing was observed.
This was due to overwritten values in ICSC registers. In dcn10, this issue had been
fixed by implementing double buffering via alternating ICSC modes.
However, the second register set used in dcn1 doesn't exist in dcn2.
[How]
Create new program_input_csc for dcn20.
Use ICSC_B registers instead of COMA registers as second set.
Signed-off-by: Noah Abradjian <noah.abradjian@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions