drm/mediatek: Add GAMMA engine basic function
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 28 Jul 2016 02:22:53 +0000 (10:22 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 11 Aug 2016 06:41:39 +0000 (08:41 +0200)
commite0a5d33702451329b7da70a15fad3b919e441401
treeb3b68e74e1dbc7bcaf3d4eef31324d9389dce338
parent0664d1392c26a8bfcdd6c6f0ff7c63eb0e1a10b0
drm/mediatek: Add GAMMA engine basic function

In order to correct brightness values, we have
to support gamma funciton on MT8173. In MT8173,
we have two engines for supporting gamma function:
AAL and GAMMA. This patch add some GAMMA engine
basic function, include config, start and stop
function.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c