OSDN Git Service

drm/i915/icl: Handle YCbCr to RGB conversion for BT2020 case
authorUma Shankar <uma.shankar@intel.com>
Fri, 28 Jun 2019 08:02:28 +0000 (13:32 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 10 Jul 2019 12:20:49 +0000 (15:20 +0300)
commit27ee72477c9b77ebf0e2827b8679b547ab556673
tree51f20baf2d2b0b2123a59b74674c3464d9f697ad
parent14bfcd3e0daeb0f757a02aac85fd03e0933ab37e
drm/i915/icl: Handle YCbCr to RGB conversion for BT2020 case

Currently input csc for YCbCR to RGB conversion handles only
BT601 and Bt709. Extending it to support BT2020 as well.

v2: Fixed the co-efficients for LR to FR conversion,
as suggested by Ville.

v3: Fixed Y Pre-offset in case of Full Range YCbCr as suggested
by Ville.

v4: Split the v2 and v3 changes.

v5: Rebase

v6: Fix a rebase fumble.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190628080230.27492-2-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_sprite.c