]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
authorJyri Sarha <jsarha@ti.com>
Tue, 3 Nov 2020 08:03:08 +0000 (10:03 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 13:46:03 +0000 (15:46 +0200)
commitc30fff1ab8688c3a93a0e680b5653bf497ca87dc
tree0728c3d4d4e97e0bfc52fc817fc01632a806f696
parent65fe5b4d1c629294a8ed57bd81945e1e53d2235e
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix

Implement CTM color management property for OMAP CRTC using DSS
overlay manager's Color Phase Rotation matrix. The CPR matrix does not
exactly match the CTM property documentation. On DSS the CPR matrix is
applied after gamma table look up. However, it seems stupid to add a
custom property just for that.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201103080310.164453-4-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/omap_crtc.c