[RFC] imx-drm: gamma correction for imx-ldb
Peter Seiderer
ps.report at gmx.net
Thu Dec 5 14:45:18 PST 2013
Attempt to add gamma correction support for imx-ldb.
The gamma correction values for the i.mx6 Display Processor registers
IPU_DP_GAMMA_C_SYNC/IPU_DP_GAMMA_S_SYNC [1,2] are given as device tree values
fsl,gamma-constk and fsl,gamma-slopek (see example values at
imx6q-sabrelite.dts calculated as suggested in [3]).
[1] http://www.freescale.com/infocenter/index.jsp?topic=%2FIMX6DQRM%2F1008258.html
[2] http://www.freescale.com/infocenter/index.jsp?topic=%2FIMX6DQRM%2F3176537.html
[3] https://github.com/boundarydevices/imx-linux-test/blob/imx_jb4.2.2_1.0.0-ga/test/mxc_fb_test/mxc_fb_test.c
Peter Seiderer (1):
imx-drm: gamma correction for imx-ldb
arch/arm/boot/dts/imx6q-sabrelite.dts | 3 +++
drivers/staging/imx-drm/imx-drm-core.c | 27 +++++++++++++++++++++++
drivers/staging/imx-drm/imx-drm.h | 4 ++++
drivers/staging/imx-drm/imx-ldb.c | 18 ++++++++++++++++
drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 2 ++
drivers/staging/imx-drm/ipu-v3/ipu-dp.c | 33 +++++++++++++++++++++++++++++
drivers/staging/imx-drm/ipuv3-crtc.c | 9 ++++++++
7 files changed, 96 insertions(+)
--
1.8.1.4
More information about the dri-devel
mailing list