diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-04-13 19:49:14 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-05-26 18:08:16 +0300 |
commit | 47d56cadb9e28da5b1bc5bad7e15120310aa118b (patch) | |
tree | 88c7cba08379657d213b8facca0684ddfb08fe7e /drivers/fpga/fpga-mgr.c | |
parent | 78776086371bf8aba4314a52a46c52d946984c61 (diff) | |
download | linux-47d56cadb9e28da5b1bc5bad7e15120310aa118b.tar.gz linux-47d56cadb9e28da5b1bc5bad7e15120310aa118b.tar.bz2 linux-47d56cadb9e28da5b1bc5bad7e15120310aa118b.zip |
drm/i915: Implement CTM property support for VLV
VLV has a so called "wide gamut color correction" unit (WGC).
What it is is a 3x3 matrix similar to the later CHV CGM
CSC, with less precisions/range. In fact CHV also has the WGC
but using it there doesn't really make sense when you have the
superior CGM CSC around.
Hook up the necessary stuff to expose the WGC as the CTM
crtc property.
One additional crazy idea that came to mind would be to use
the WGC as an output CSC on CHV for YCbCr output. But it
would be incompatible with the legacy LUT usage. In fact
since the WGC lacks post-offsets we'd probably have to
use the legacy LUT to do that final part of the RGB->YCbCr
conversion. Sounds doable, but perhaps not worth the hassle.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230413164916.4221-6-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions