All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v3 0/8] Add Plane Color Properties
@ 2018-03-09 18:17 Uma Shankar
  2018-03-09 18:17 ` [RFC v3 1/8] drm: Add Enhanced Gamma LUT precision structure Uma Shankar
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Uma Shankar @ 2018-03-09 18:17 UTC (permalink / raw)
  To: intel-gfx, dri-devel
  Cc: dcastagna, emil.l.velikov, Uma Shankar, ville.syrjala, maarten.lankhorst

This patch series adds properties for plane color features. It adds
properties for degamma used to linearize data, CSC used for gamut
conversion, and gamma used to again non-linearize data as per panel
supported color space. These can be utilize by user space to convert
planes from one format to another, one color space to another etc.

Usersapce can take smart blending decisions and utilize these hardware
supported plane color features to get accurate color profile. The same
can help in consistent color quality from source to panel taking
advantage of advanced color features in hardware.

These patches just add the property interfaces and enable helper
functions.

This series adds Intel Gen9 specific plane gamma feature. We can
build up and add other platform/hardware specific implementation
on top of this series

Note: This is just to get a design feedback whether these interfaces
look ok. Based on community feedback on interfaces, we will implement
IGT tests to validate plane color features. This is un-tested currently.
Also, userspace implementation to use these properties is currently not
available.

v2: Dropped legacy gamma table for plane as suggested by Maarten. Added
Gen9/BDW plane gamma feature and rebase on tot.

v3: Added a new drm_color_lut_ext structure to accommodate 32 bit precision
entries, pointed to by Brian, Starkey for HDR usecases. Addressed Sean,Paul
comments and moved plane color properties to drm_plane instead of
mode_config. Added property documentation as suggested by Daniel, Vetter.
Fixed a rebase fumble which occurred in v2, pointed by Emil Velikov.

Uma Shankar (8):
  drm: Add Enhanced Gamma LUT precision structure
  drm: Add Plane Degamma properties
  drm: Add Plane CTM property
  drm: Add Plane Gamma properties
  drm: Define helper function for plane color enabling
  drm/i915: Enable plane color features
  drm/i915: Implement Plane Gamma for Bdw and Gen9 platforms
  drm/i915: Load plane color luts from atomic flip

 Documentation/gpu/drm-kms.rst             |  18 ++++
 drivers/gpu/drm/drm_atomic.c              |  30 +++++++
 drivers/gpu/drm/drm_atomic_helper.c       |  12 +++
 drivers/gpu/drm/drm_plane.c               | 131 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_drv.h           |   5 ++
 drivers/gpu/drm/i915/i915_pci.c           |   5 +-
 drivers/gpu/drm/i915/i915_reg.h           |  24 ++++++
 drivers/gpu/drm/i915/intel_atomic_plane.c |   4 +
 drivers/gpu/drm/i915/intel_color.c        |  80 ++++++++++++++++++
 drivers/gpu/drm/i915/intel_device_info.h  |   5 ++
 drivers/gpu/drm/i915/intel_display.c      |   4 +
 drivers/gpu/drm/i915/intel_drv.h          |  10 +++
 drivers/gpu/drm/i915/intel_sprite.c       |   4 +
 include/drm/drm_color_mgmt.h              |   5 ++
 include/drm/drm_plane.h                   |  66 +++++++++++++++
 include/uapi/drm/drm_mode.h               |  15 ++++
 16 files changed, 417 insertions(+), 1 deletion(-)

-- 
1.9.1

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-07-16 12:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 18:17 [RFC v3 0/8] Add Plane Color Properties Uma Shankar
2018-03-09 18:17 ` [RFC v3 1/8] drm: Add Enhanced Gamma LUT precision structure Uma Shankar
2018-03-09 18:17 ` [RFC v3 2/8] drm: Add Plane Degamma properties Uma Shankar
2018-03-09 18:17 ` [RFC v3 3/8] drm: Add Plane CTM property Uma Shankar
2018-03-09 18:17 ` [RFC v3 4/8] drm: Add Plane Gamma properties Uma Shankar
2018-03-09 18:17 ` [RFC v3 5/8] drm: Define helper function for plane color enabling Uma Shankar
2018-03-09 18:17 ` [RFC v3 6/8] drm/i915: Enable plane color features Uma Shankar
2018-03-09 18:17 ` [RFC v3 7/8] drm/i915: Implement Plane Gamma for Bdw and Gen9 platforms Uma Shankar
2018-03-09 18:17 ` [RFC v3 8/8] drm/i915: Load plane color luts from atomic flip Uma Shankar
2018-03-09 18:25 ` ✗ Fi.CI.SPARSE: warning for Add Plane Color Properties (rev3) Patchwork
2018-03-09 18:37 ` ✓ Fi.CI.BAT: success " Patchwork
2018-03-10  0:34 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-03-12 11:53 ` [RFC v3 0/8] Add Plane Color Properties Emil Velikov
2018-06-11 10:16 ` Alexandru-Cosmin Gheorghe
2018-06-12  4:01   ` Shankar, Uma
2018-06-14 12:50     ` Alexandru-Cosmin Gheorghe
2018-06-14 16:11       ` Shankar, Uma
2018-07-12 16:32     ` Alexandru-Cosmin Gheorghe
2018-07-16 12:38       ` Shankar, Uma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.