[PATCH 0/8] drm: Add COLOR_ENCODING and COLOR_RANGE plane properties
Ville Syrjälä
ville.syrjala at linux.intel.com
Fri Mar 2 13:06:08 UTC 2018
On Wed, Feb 14, 2018 at 09:23:19PM +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Here's a refresh of Jyri's COLOR_ENCODING and COLOR_RANGE properties,
> and the i915 implementation I did on top. I tossed in a few core
> updates as well: plane state dump, and the BT.2020 constant luminance
> variant.
>
> Apparently nouveau is already exposing a "iturbt_709" bool property
> which allows one to choose between BT.601 and BT.709 encodings, but
> given that we want at least BT.2020 in addition I don't think that
> property is good enough. Trying to implement it, and somehow extend
> it beyond BT.601 vs. BT.709 seems like wasted effort. Hence I think
> we should just ignore it and move on.
>
> My userspace implementation in the form of intel ddx
> XV_COLORSPACE attribute:
> https://patchwork.freedesktop.org/patch/204696/
>
> Cc: Harry Wentland <harry.wentland at amd.com>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Daniel Stone <daniel at fooishbar.org>
> Cc: Russell King - ARM Linux <linux at armlinux.org.uk>
> Cc: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: Hans Verkuil <hverkuil at xs4all.nl>
> Cc: Uma Shankar <uma.shankar at intel.com>
> Cc: Shashank Sharma <shashank.sharma at intel.com>
>
> Jyri Sarha (1):
> drm: Add optional COLOR_ENCODING and COLOR_RANGE properties to
> drm_plane
>
> Ville Syrjälä (7):
> drm: Add BT.2020 constant luminance enum value for the COLOR_ENCODING
> property
> drm/atomic: Include color encoding/range in plane state dump
> drm/i915: Correctly handle limited range YCbCr data on VLV/CHV
> drm/i915: Fix plane YCbCr->RGB conversion for GLK
> drm/i915: Add support for the YCbCr COLOR_ENCODING property
> drm/i915: Change the COLOR_ENCODING prop default value to BT.709
> drm/i915: Add support for the YCbCr COLOR_RANGE property
Userspace for i915 was deemed ready [1] so I've pushed the series (apart
from the BT2020_CONST thing) to drm-misc-next. Thanks to everyone who
worked on this.
[1] https://lists.freedesktop.org/archives/intel-gfx/2018-March/157512.html
--
Ville Syrjälä
Intel OTC
More information about the dri-devel
mailing list