diff options
author | Noah Abradjian <[email protected]> | 2019-12-16 10:50:53 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-01-16 14:13:30 -0500 |
commit | 2c1a180ac12d76d2be3586262552619c0fc1daab (patch) | |
tree | a77085a6ecedf6dc4727f70c528e7ede847a53f3 /tools/perf/util/c++/clang-test.cpp | |
parent | 4c1a1335dfe0d771908a63950bee67b9b465fd06 (diff) |
drm/amd/display: Double buffer dcn2 Gamut Remap
[Why]
When rapidly adjusting color temperature, screen tearing was observed.
This was due to overwritten values in gamut remap registers.
This issue was solved for OCSC and ICSC by alternating between "A" and
"B" registers to double buffer the writes.
[How]
Create new set_gamut_remap and program_gamut_remap for dcn20.
Alternate which registers are written to by switching modes each time.
Also fixes ICSC mode reg read to use proper data offset.
Signed-off-by: Noah Abradjian <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions