[Intel-gfx] [PATCH v3 00/20] drm/i915: Finish (de)gamma readout
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Nov 14 15:37:12 UTC 2022
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.
Since we have the {pre,post}_csc_lut stuff this is fairly
easy to do now. The implementation of the LUT checker is
a bit more repetitive than I'd like but we an work on
shrinking it later.
There are some fixes/cleanups at the start, and while we're
in there let's also throw in the 10bit gamma mode for gen2/3.
At the end I also added a few patches to fix existing issues
with gamma vs. YCbCr/RGB limited range output.
v2: Mostly redone, only some of the readout implementations
remain more or less unchange
v3: More work towards C8 palette readout, but disable the
state checker for it now since we lack c8_planes readout
Ville Syrjälä (20):
drm/i915: Clean up legacy palette defines
drm/i915: Clean up 10bit precision palette defines
drm/i915: Clean up 12.4bit precision palette defines
drm/i915: Clean up chv CGM (de)gamma defines
drm/i915: Reorder 12.4 lut udw vs. ldw functions
drm/i915: Fix adl+ degamma LUT size
drm/i915: s/gamma/post_csc_lut/
drm/i915: Add glk+ degamma readout
drm/i915: Read out CHV CGM degamma
drm/i915: Add gamma/degamma readout for bdw+
drm/i915: Add gamma/degamma readout for ivb/hsw
drm/i915: Make ilk_read_luts() capable of degamma readout
drm/i915: Prep for C8 palette readout
drm/i915: Make .read_luts() mandatory
drm/i915: Finish the LUT state checker
drm/i915: Rework legacy LUT handling
drm/i915: Use hw degamma LUT for sw gamma on glk with YCbCr output
drm/i915: Use gamma LUT for RGB limited range compression
drm/i915: Add 10bit gamma mode for gen2/3
drm/i915: Do state check for color management changes
drivers/gpu/drm/i915/display/intel_color.c | 1137 ++++++++++++++---
drivers/gpu/drm/i915/display/intel_color.h | 8 +-
drivers/gpu/drm/i915/display/intel_display.c | 33 +-
.../drm/i915/display/intel_modeset_verify.c | 2 +
drivers/gpu/drm/i915/i915_pci.c | 12 +-
drivers/gpu/drm/i915/i915_reg.h | 67 +-
6 files changed, 1008 insertions(+), 251 deletions(-)
--
2.37.4
More information about the Intel-gfx
mailing list