diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-02-14 20:23:27 +0100 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-02 13:49:10 +0100 |
commit | c8624ede3ed3b9f46364f5239c402393ec853e00 (patch) | |
tree | 94f6735f1906c4b5a558c20963b9086f876e2686 /drivers/gpu/drm/drm_modeset_lock.c | |
parent | drm/i915: Change the COLOR_ENCODING prop default value to BT.709 (diff) | |
download | linux-c8624ede3ed3b9f46364f5239c402393ec853e00.tar.xz linux-c8624ede3ed3b9f46364f5239c402393ec853e00.zip |
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
Diffstat (limited to 'drivers/gpu/drm/drm_modeset_lock.c')
0 files changed, 0 insertions, 0 deletions