]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hisilicon/hibmc: add gamma_set function
authorZhihui Chen <chenzhihui4@huawei.com>
Mon, 23 Dec 2019 07:49:10 +0000 (15:49 +0800)
committerXinliang Liu <xinliang.liu@linaro.org>
Thu, 13 Feb 2020 09:52:41 +0000 (09:52 +0000)
commit1b16518e2febe8de844eb6fbd2cdc5d836c625d6
treeff586da9492215b2fc894596a9928e4604baa6b0
parent67450aa3d7315befb4771733f603bc8490c10c6f
drm/hisilicon/hibmc: add gamma_set function

Add gamma_set function, and we can also use it to adjust the brightness
of the display.

Signed-off-by: Zhihui Chen <chenzhihui4@huawei.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Acked-by: Xinliang Liu <xinliang.liu@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191223074910.1030-1-chenzhihui4@huawei.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_regs.h