]> 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)
commit87322a1c62e85a2ce7d1556fd3563f3da029448c
tree2699bd1b9e39adc819d43307f67bc6c56605315a
parentd2fb2251ab007d43efe85780854e6ccfd883b4e1
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