diff options
author | Ville Syrjälä <[email protected]> | 2023-03-20 11:54:36 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2023-03-21 18:21:02 +0200 |
commit | 92736f1b452bbb8a66bdb5b1d263ad00e04dd3b8 (patch) | |
tree | 3159b903dc31b5956436dea43c6eea2c13a36826 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3962ca4e080a525fc9eae87aa6b2286f1fae351d (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]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions