[PATCH v5 0/2] drm: Add properties to control YCbCr to RGB conversion

Jyri Sarha jsarha at ti.com
Tue May 30 16:29:54 UTC 2017


This is almost just a resend of the previous version, but I had
forgotten the EXPORT_SYMBOL(drm_plane_create_color_properties) so
bumped the version up. Just wanted to be sure the latest public
version actually working.

Changes since v4 version:
- Add EXPORT_SYMBOL(drm_plane_create_color_properties);
- Rebase on top of the latest drm-next

Changes since v3 RFC version:
 - Add: "drm: Add const to name field declaration in struct drm_prop_enum_list"
 - Fix typos found by Eric Engestrom
 - Restructure kernel doc
 - Add consts to name sting tables
 - Loop variables from unsigned to signed int
 - Use len variable to index temporary enum_list
 - Initialize state variables if present
 - Reorder bitmask test
 - Remove drm_property_destroy() call from drm_plane_cleanup()
 - Do not initialize the first enum to zero
 - Remove struct drm_prop_enum_list declaration from drm_color_mgmt.h

The previous version can be found here:
https://lists.freedesktop.org/archives/dri-devel/2017-May/141766.html

Jyri Sarha (2):
  drm: Add const to name field declaration in struct drm_prop_enum_list
  drm: Add optinal COLOR_ENCODING and COLOR_RANGE properties to
    drm_plane

 drivers/gpu/drm/drm_atomic.c     |  8 ++++
 drivers/gpu/drm/drm_color_mgmt.c | 93 ++++++++++++++++++++++++++++++++++++++++
 include/drm/drm_color_mgmt.h     | 19 ++++++++
 include/drm/drm_plane.h          |  8 ++++
 include/drm/drm_property.h       |  2 +-
 5 files changed, 129 insertions(+), 1 deletion(-)

-- 
1.9.1



More information about the dri-devel mailing list