Re: [PATCH RFC 0/6] drm: Add properties to control YCbCr to RGB conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Regards

Shashank


On 4/21/2017 3:21 PM, Jyri Sarha wrote:
The series adds plane specific atomic properties to control YCbCr to
RGB conversions. My intention was to try to implement the plane
specific (before DEGAMMA) part of the suggestion in this dri-devel
post:
I would probably extend this series to have a bigger view. Instead of addressing RGB->YCBCR conversion, the actual target here should be blending of various framebuffers considering:
- their color spaces (Rec 601/709/2020)
- their format (YCBCR->RGB or RGB->YCBCR)
- their linear state (Linear/Non-linear) or if they are ready for Gamut mapping/color conversion or not.

Also, we need to have the sequence of properties, so that, it would match all(most of the) HWs.
I will add my comments in the upcoming patches accordingly.

- Shashank
https://lists.freedesktop.org/archives/dri-devel/2017-March/135870.html

This series may not be ready as such. At least the kernel doc parts
should be more detailed and carefully written. The purpose is merely
to move the discussion to a more concrete level.

The series also includes drm/omap patches that implement the standard
properties for OMAP DSS in omapdrm driver.

Best regards,
Jyri

Jyri Sarha (4):
   drm: drm_color_mgmt.h needs struct drm_crtc declaration
   drm: Make drm_atomic_replace_property_blob_from_id() more generic
   drm: Plane YCbCr to RGB conversion related properties
   drm/omap: Enable ycbcr_to_rgb_properties for omapdrm planes REVISIT

Tomi Valkeinen (2):
   drm/omap: cleanup color space conversion
   drm/omap: csc full range support

  drivers/gpu/drm/drm_atomic.c          |  36 +++++++--
  drivers/gpu/drm/drm_atomic_helper.c   |   9 +++
  drivers/gpu/drm/drm_color_mgmt.c      | 136 +++++++++++++++++++++++++++++++-
  drivers/gpu/drm/drm_plane.c           |  10 +++
  drivers/gpu/drm/omapdrm/dss/dispc.c   | 141 +++++++++++++++++++++++++++++-----
  drivers/gpu/drm/omapdrm/dss/omapdss.h |  14 ++++
  drivers/gpu/drm/omapdrm/omap_plane.c  |  41 ++++++++++
  include/drm/drm_color_mgmt.h          |  25 ++++++
  include/drm/drm_plane.h               |  10 +++
  include/uapi/drm/drm_mode.h           |  12 +++
  10 files changed, 408 insertions(+), 26 deletions(-)


_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux