]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: support two CSC module on gen11 and later
authorLee Shawn C <shawn.c.lee@intel.com>
Mon, 18 Jan 2021 02:27:53 +0000 (10:27 +0800)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Jan 2021 14:55:28 +0000 (16:55 +0200)
commitf862ce3809c284ad6a376ed19e1e96c4c80deeee
tree179c1d26aa267ac112f404bfccfbc20d0307a994
parentc8eff5da6b89d726fef6bed9505f3267621df772
drm/i915: support two CSC module on gen11 and later

There are two CSC on pipeline on gen11 and later platform.
User space application is allowed to enable CTM and RGB
to YCbCr coversion at the same time now.

v2: check csc capability in {}_color_check function.
v3: can't support two CSC at the same time in {ivb,glk}_color_check.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Cooper Chiou <cooper.chiou@intel.com>
Cc: Shankar Uma <uma.shankar@intel.com>
Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210118022753.8798-1-shawn.c.lee@intel.com
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_display.c