public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Uma Shankar <uma.shankar@intel.com>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: ville.syrjala@intel.com, maarten.lankhorst@intel.com
Subject: [RFC V1 0/6] Add Plane Color Properties
Date: Tue, 26 Sep 2017 13:32:52 +0530	[thread overview]
Message-ID: <1506412979-22028-1-git-send-email-uma.shankar@intel.com> (raw)

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.
Based on community feedabck on this one, we can build up and add hardware
specific implementation on top of this series.

Note: This is just to get a design feedback whether these interfaces look ok. 
Once, designed is agreed will re-send the series with a hardware specific
implementation along with IGT tests for plane color. 

Uma Shankar (6):
  drm: Add Plane Degamma properties
  drm: Add Plane CTM property
  drm: Add Plane Gamma properties
  drm: Define helper function for plane color enabling
  drm: Define helper to set legacy gamma table size
  drm/i915: Enable plane color features

 drivers/gpu/drm/drm_atomic.c         |   29 ++++++++++++++++++++
 drivers/gpu/drm/drm_color_mgmt.c     |   41 +++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_mode_config.c    |   35 +++++++++++++++++++++++++
 drivers/gpu/drm/drm_plane.c          |   48 ++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_drv.h      |    8 ++++++
 drivers/gpu/drm/i915/intel_color.c   |   14 ++++++++++
 drivers/gpu/drm/i915/intel_display.c |    4 +++
 drivers/gpu/drm/i915/intel_drv.h     |    9 +++++++
 drivers/gpu/drm/i915/intel_sprite.c  |    4 +++
 include/drm/drm_color_mgmt.h         |    8 ++++++
 include/drm/drm_mode_config.h        |   28 ++++++++++++++++++++
 include/drm/drm_plane.h              |   31 ++++++++++++++++++++++
 12 files changed, 259 insertions(+)

-- 
1.7.9.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-09-26  8:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-26  8:02 Uma Shankar [this message]
2017-09-26  8:02 ` [RFC v1 1/6] drm: Add Plane Degamma properties Uma Shankar
2017-09-26  8:02 ` [RFC v1 2/6] drm: Add Plane CTM property Uma Shankar
2017-09-26  8:02 ` [RFC v1 3/6] drm: Add Plane Gamma properties Uma Shankar
2017-09-26  8:02 ` [RFC v1 4/6] drm: Define helper function for plane color enabling Uma Shankar
2017-09-26  8:02 ` [RFC v1 5/6] drm: Define helper to set legacy gamma table size Uma Shankar
2017-09-26 10:05   ` Lankhorst, Maarten
2017-09-26 10:11     ` Shankar, Uma
2017-09-26 10:15       ` Lankhorst, Maarten
2017-09-26 10:20         ` Shankar, Uma
2017-09-26  8:02 ` [RFC v1 6/6] drm/i915: Enable plane color features Uma Shankar
2017-09-26  9:31 ` ✓ Fi.CI.BAT: success for Add Plane Color Properties Patchwork
2017-09-26 11:16 ` [Intel-gfx] [RFC V1 0/6] " Daniel Vetter
2017-09-26 12:53 ` ✓ Fi.CI.IGT: success for " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506412979-22028-1-git-send-email-uma.shankar@intel.com \
    --to=uma.shankar@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=maarten.lankhorst@intel.com \
    --cc=ville.syrjala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox