]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Add support for the YCbCr COLOR_RANGE property
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 14 Feb 2018 19:23:27 +0000 (21:23 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Mar 2018 12:49:10 +0000 (14:49 +0200)
commitc8624ede3ed3b9f46364f5239c402393ec853e00
tree94f6735f1906c4b5a558c20963b9086f876e2686
parent23b280890a140b0cf1e8f61c252936c2fb77f718
drm/i915: Add support for the YCbCr COLOR_RANGE property

Add support for the COLOR_RANGE property on planes. This property
selects whether the input YCbCr data is to treated as limited range
or full range.

On most platforms this is a matter of setting the "YUV range correction
disable" bit, and on VLV/CHV we'll just have to program the color
correction logic to pass the data through unmodified.

v2: Rebase

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Daniel Stone <daniel@fooishbar.org>
Cc: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Uma Shankar <uma.shankar@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214192327.3250-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c