[PATCH 0/6] drm/i915: Finish the GAMMA_LUT stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

This series exposes the GAMMA_LUT/GAMMA_LUT_SIZE props on all
platforms, finally getting us back to some kind of uniformity.
On i965+ we also gain the ability to gamma correct 10bpc data
without crusing it to 8bpc with the legacy LUT.

To go beyond this we'll need the new uapi to expose different
gamma modes so that userspace can make the best use of the
available hardware. We'll get to that later.

One thing we still need to do is deal with the current bugs
relating to the overloaded use of the pipe CSC for YCbCr and
limited range RGB output. This series already removes some
of those bugs on BDW+, and we can probably eliminate a bit
more if we start to frob the gamma LUT to do the limited
range compression. I've not decided what we're going to do
with GLK however. It has sadly lost the flexibility we
desperately need.

Ville Syrjälä (6):
  drm/i915: Extract ilk_lut_10()
  drm/i915: Don't use split gamma when we don't have to
  drm/i915: Implement split/10bit gamma for ivb/hsw
  drm/i915: Add 10bit LUT for ilk/snb
  drm/i915: Add "10.6" LUT mode for i965+
  drm/i915: Expose the legacy LUT via the GAMMA_LUT/GAMMA_LUT_SIZE props
    on gen2/3

 drivers/gpu/drm/i915/i915_pci.c    |  21 +-
 drivers/gpu/drm/i915/i915_reg.h    |  14 ++
 drivers/gpu/drm/i915/intel_color.c | 353 +++++++++++++++++++++--------
 3 files changed, 292 insertions(+), 96 deletions(-)

-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux