]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mali-dp: Add CTM support
authorMihail Atanassov <mihail.atanassov@arm.com>
Mon, 13 Feb 2017 12:49:03 +0000 (12:49 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 24 Apr 2017 09:45:34 +0000 (10:45 +0100)
commitbdf9cf880a600eabd7f9664ae8f25a607749afb5
tree2699bd1b9e39adc819d43307f67bc6c56605315a
parent22136c3b13ea849a42a8bb8b0fe31f2ae6c88fea
drm: mali-dp: Add CTM support

All DPs have a COLORADJ matrix which is applied prior to output gamma.
Attach that to the CTM property. Also, ensure the input CTM's coefficients
can fit in the DP registers' Q3.12 format.

Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_crtc.c
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_drv.h
drivers/gpu/drm/arm/malidp_hw.h
drivers/gpu/drm/arm/malidp_regs.h