[PATCH RFC v2 0/2] drm: Add properties to control YCbCr to RGB conversion
Jyri Sarha
jsarha at ti.com
Thu May 4 07:14:24 UTC 2017
Changes since first RFC version:
- Drop already merged
- drm: drm_color_mgmt.h needs struct drm_crtc declaration
- drm: Make drm_atomic_replace_property_blob_from_id() more generic
- Drop omapdrm specific example patches
- I have updated versions, for testing buy they are not relevant here
- Rename properties
- Drop bundled color space conversion enums and leave just:
- BT.601 full, BT.601 limited, BT.709 limited, BT.2020 limited
- Split YCBCR_ENCODING property with standard encodings to a separate patch
The first RFC version can be found here:
http://www.spinics.net/lists/dri-devel/msg139440.html
The changes to this new version are not really that big. However,
especially with the first patch I try to iterate towards some minimal
common ground that we could agree on.
Jyri Sarha (2):
drm: Add optinal YCBCR_ENCODING property to drm_plane
drm: Add YCBCR_DECODE_CSC and YCBCR_CSC_PREOFFSET properties to
drm_plane
drivers/gpu/drm/drm_atomic.c | 24 ++++++++
drivers/gpu/drm/drm_atomic_helper.c | 9 +++
drivers/gpu/drm/drm_color_mgmt.c | 110 ++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/drm_plane.c | 9 +++
include/drm/drm_color_mgmt.h | 17 ++++++
include/drm/drm_plane.h | 10 ++++
include/uapi/drm/drm_mode.h | 12 ++++
7 files changed, 191 insertions(+)
--
1.9.1
More information about the dri-devel
mailing list