drm/i915: Configure overlay cc_out precision based on crtc gamma config
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Oct 2019 11:30:34 +0000 (13:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 May 2020 17:11:17 +0000 (20:11 +0300)
commite0b5d48e555d88d4ebe335469ac953b159915d92
tree6f4c33aa77791c5dcda633d11fac7fda0ef4a290
parent0e12b4e31f0e34e19327e3958ee2b1c0f0d4d5b9
drm/i915: Configure overlay cc_out precision based on crtc gamma config

Put the overlay color conversion unit into 10bit mode if the
pipe isn't using the 8bit legacy gamma. Not 100% sure this is
what the intention of the bit was but makes at least some sense to
me.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191028113036.27553-4-ville.syrjala@linux.intel.com
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/display/intel_overlay.c