diff options
author | Ville Syrjälä <[email protected]> | 2023-03-20 11:54:36 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2023-03-27 13:21:58 +0300 |
commit | 4d4e766f8b7dbdefa7a78e91eb9c7a29d0d818b8 (patch) | |
tree | b7156b66fd7d37e4ef894293445cf449ddaa0b54 /scripts/gdb/linux/timerlist.py | |
parent | c880f855d1e240a956dcfce884269bad92fc849c (diff) |
drm/i915: Workaround ICL CSC_MODE sticky arming
Unlike SKL/GLK the ICL CSC unit suffers from a new issue where
CSC_MODE arming is sticky. That is, once armed it remains armed
causing the CSC coeff/offset registers to become effectively
self-arming.
CSC coeff/offset registers writes no longer disarm the CSC,
but fortunately register read still do. So we can use that
to disarm the CSC unit once the registers for the current
frame have been latched. This avoid s the self-arming behaviour
from persisting into the next frame's .color_commit_noarm()
call.
Cc: <[email protected]> #v5.19+
Cc: Manasi Navare <[email protected]>
Cc: Drew Davenport <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Jouni Högander <[email protected]>
Fixes: d13dde449580 ("drm/i915: Split pipe+output CSC programming to noarm+arm pair")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Imre Deak <[email protected]>
(cherry picked from commit 92736f1b452bbb8a66bdb5b1d263ad00e04dd3b8)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions