]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Implement split/10bit gamma for ivb/hsw
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 1 Apr 2019 20:02:27 +0000 (23:02 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 Apr 2019 19:26:13 +0000 (22:26 +0300)
commitc21ce2effc5278de11c5726b3fde9f39c4de17ce
tree60b5a9f3ca9feb01ba6ed07ca0187e94ae0e2056
parent5bda1aca5d9475ee2035d29d4855dbf97ad164ad
drm/i915: Implement split/10bit gamma for ivb/hsw

Reuse the bdw+ code to get split/10bit gamma for
ivb/hsw. The hardware is nearly identical. The
only slight snag is that on ivb/hsw the precision
palette auto increment mode does not work. So we
must increment the index manually. We'll probably
want to stick to the auto increment mode on bdw+
in the name of efficiency.

Also we want to avoid using the CSC for limited range
RGB output as PIPECONF will take care of that on IVB.

v2: Rebase due to EXT_GC_MAX/EXT2_GC_MAX changes

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190401200231.2333-4-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_color.c