From: Ville Syrjälä <ville.syrj...@linux.intel.com> The CSC unit on SKL/GLK/ICL is borked in various ways. This can cause black screens and/or premature noarm register latching. And DC5+PSR can in general also cause premature noarm register latching. Deal with it all.
Cc: Manasi Navare <navareman...@google.com> Cc: Drew Davenport <ddavenp...@chromium.org> Cc: Imre Deak <imre.d...@intel.com> Cc: Jouni Högander <jouni.hogan...@intel.com> Ville Syrjälä (6): drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm() drm/i915: Move CSC load back into .color_commit_arm() when PSR is enabled on skl/glk drm/i915: Add a .color_post_update() hook drm/i915: Workaround ICL CSC_MODE sticky arming drm/i915: Disable DC states for all commits drm/i915/psr: Define more PSR mask bits drivers/gpu/drm/i915/display/intel_color.c | 102 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_color.h | 1 + drivers/gpu/drm/i915/display/intel_display.c | 31 +++++- .../drm/i915/display/intel_display_power.c | 15 +++ .../drm/i915/display/intel_display_power.h | 1 + drivers/gpu/drm/i915/i915_reg.h | 10 +- 6 files changed, 151 insertions(+), 9 deletions(-) -- 2.39.2