[Intel-gfx] [PATCH 00/20] drm/i915: Finish (de)gamma readout

Ville Syrjala ville.syrjala at linux.intel.com
Fri Jul 17 21:13:25 UTC 2020


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The gamma readout stuff was left half finished. No degamma
readout, and no readout whatsoever on ivb/bdw/skl/bxt.
Let's finish it. A bit more involved/ugly than I'd prefer
but there are certainly some complications with the way
some of the hw works.

There are a few fixes/cleanups at the start, and while we're
in there let's also throw in the 10bit gamma mode for gen2/3.

Ville Syrjälä (20):
  drm/i915: Fix state checker hw.active/hw.enable readout
  drm/i915: Move MST master transcoder dump earlier
  drm/i915: Include the LUT sizes in the state dump
  drm/i915: s/glk_read_lut_10/bdw_read_lut_10/
  drm/i915: Reset glk degamma index after programming/readout
  drm/i915: Shuffle chv_cgm_gamma_pack() around a bit
  drm/i915: Relocate CHV CGM gamma masks
  drm/i915: Add glk+ degamma readout
  drm/i915: Read out CHV CGM degamma
  drm/i915: Add gamma/degamma readout for bdw+
  drm/i915: Do degamma+gamma readout in bdw+ split gamma mode
  drm/i915: Polish bdw_read_lut_10() a bit
  drm/i915: Add gamma/degamm readout for ivb/hsw
  drm/i915: Replace some gamma_mode ifs with switches
  drm/i915: Make ilk_load_luts() deal with degamma
  drm/i915: Make ilk_read_luts() capable of degamma readout
  drm/i915: Make .read_luts() mandatory
  drm/i915: Extract ilk_crtc_has_gamma() & co.
  drm/i915: Complete the gamma/degamma state checking
  drm/i915: Add 10bit gamma mode for gen2/3

 drivers/gpu/drm/i915/display/intel_color.c   | 1015 +++++++++++++++---
 drivers/gpu/drm/i915/display/intel_color.h   |   10 +-
 drivers/gpu/drm/i915/display/intel_display.c |   50 +-
 drivers/gpu/drm/i915/i915_drv.h              |    7 +
 drivers/gpu/drm/i915/i915_pci.c              |   10 +-
 drivers/gpu/drm/i915/i915_reg.h              |   47 +-
 6 files changed, 975 insertions(+), 164 deletions(-)

-- 
2.26.2



More information about the Intel-gfx mailing list