]> 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)
commit9dc4cb4e27f0d5e9f5df6decd4d06cff0f6f5de5
tree0728c3d4d4e97e0bfc52fc817fc01632a806f696
parent082ae39a12898edbc0536906780013fbf1e1c4d6
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