From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> A bit of cleanups/refactoring/etc. around the gamma and DSB code. The eventual aim is to get the DSB to succesfully load the LUTs for us, but we're not there yet. Ville Syrjälä (13): drm/i915: Shorten GAMMA_MODE_MODE_12BIT_MULTI_SEGMENTED a bit drm/i915: Clean up GAMMA_MODE defines drm/i915: Define skl+ palette anti-collision bit drm/i915: Clean up various indexed LUT registers drm/i915: Standardize auto-increment LUT load procedure drm/i915: Document LUT "max" register precision drm/i915: Move the DSB->mmio fallback into the LUT code drm/i915: Move the DSB setup/cleaup into the color code drm/i915: Make DSB lower level drm/i915: Disable DSB usage specifically for LUTs Revert "drm/i915: Disable DSB usage for now" drm/i915: Use ilk_lut_write*() for all ilk+ gamma modes drm/i915: Do state check for color management changes drivers/gpu/drm/i915/display/intel_color.c | 245 +++++++++++------- drivers/gpu/drm/i915/display/intel_color.h | 2 + drivers/gpu/drm/i915/display/intel_display.c | 25 +- drivers/gpu/drm/i915/display/intel_display.h | 8 + drivers/gpu/drm/i915/display/intel_dsb.c | 95 +++---- drivers/gpu/drm/i915/display/intel_dsb.h | 13 +- .../drm/i915/display/intel_modeset_verify.c | 2 + drivers/gpu/drm/i915/i915_pci.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 45 ++-- 9 files changed, 250 insertions(+), 187 deletions(-) -- 2.37.4