mbox series

[v6,0/2] Enable Plane Input CSC for ICL

Message ID 1540992931-26022-1-git-send-email-uma.shankar@intel.com (mailing list archive)
Headers show
Series Enable Plane Input CSC for ICL | expand

Message

Shankar, Uma Oct. 31, 2018, 1:35 p.m. UTC
This patch series enables plane input csc feature for
ICL. This is needed for YUV to RGB conversion on bottom
3 planes on ICL, other planes are handled in the legacy
way using fixed function hardware.

This series enables color conversion for Full Range YUV data,
limited range handling will be done as a separate patch.

v2: Separated the patch into 2 parts as per Maarten's comments.
Addressed Ville and Maarten's review comment.

v3: Redesigned the register macro definition as per Matt's comment.
Addressed Maarten's review comment.

v4: Added support for Limited Range Color Handling.

v5: Fixed Matt and Maarten's review comments.

v6: Added human readable matrix values for YUV to RGB Conversion along
with just the bspec register values, as per Matt's suggestion.

This has been verified and tested by Maarten and the change is working
as expected.

Uma Shankar (2):
  drm/i915/icl: Define Plane Input CSC Coefficient Registers
  drm/i915/icl: Enable Plane Input CSC for YUV to RGB Conversion

 drivers/gpu/drm/i915/i915_reg.h      |  50 +++++++++++++++++
 drivers/gpu/drm/i915/intel_color.c   | 103 +++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_display.c |  23 ++++++--
 drivers/gpu/drm/i915/intel_drv.h     |   2 +
 4 files changed, 172 insertions(+), 6 deletions(-)