kernel_samsung_a53x/drivers/gpu/drm/rockchip
Hugh Cole-Baker 36a33fc208 drm/rockchip: support gamma control on RK3399
[ Upstream commit 7ae7a6211fe7251543796d5af971acb8c9e2da9e ]

The RK3399 has a 1024-entry gamma LUT with 10 bits per component on its
"big" VOP and a 256-entry, 8 bit per component LUT on the "little" VOP.
Compared to the RK3288, it no longer requires disabling gamma while
updating the LUT. On the RK3399, the LUT can be updated at any time as
the hardware has two LUT buffers, one can be written while the other is
in use. A swap of the buffers is triggered by writing 1 to the
update_gamma_lut register.

Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
Tested-by: "Milan P. Stanić" <mps@arvanta.net>
Tested-by: Linus Heckemann <git@sphalerite.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211019215843.42718-3-sigmaris@gmail.com
Stable-dep-of: 6b44aa559d6c ("drm/rockchip: vop: clear DMA stop bit on RK3066")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:47 +01:00
..
analogix_dp-rockchip.c
cdn-dp-core.c
cdn-dp-core.h
cdn-dp-reg.c
cdn-dp-reg.h
dw-mipi-dsi-rockchip.c
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: Fix reading EDID when using a forced mode 2024-11-23 23:21:21 +01:00
inno_hdmi.c drm/rockchip: inno_hdmi: Fix video timing 2024-11-19 08:44:50 +01:00
inno_hdmi.h
Kconfig
Makefile
rk3066_hdmi.c
rk3066_hdmi.h
rockchip_drm_drv.c
rockchip_drm_drv.h
rockchip_drm_fb.c
rockchip_drm_fb.h
rockchip_drm_fbdev.c
rockchip_drm_fbdev.h
rockchip_drm_gem.c
rockchip_drm_gem.h
rockchip_drm_vop.c drm/rockchip: support gamma control on RK3399 2024-11-23 23:21:47 +01:00
rockchip_drm_vop.h drm/rockchip: define gamma registers for RK3399 2024-11-23 23:21:47 +01:00
rockchip_lvds.c drm/rockchip: lvds: do not print scary message when probing defer 2024-11-19 08:44:51 +01:00
rockchip_lvds.h
rockchip_rgb.c
rockchip_rgb.h
rockchip_vop_reg.c drm/rockchip: define gamma registers for RK3399 2024-11-23 23:21:47 +01:00
rockchip_vop_reg.h drm/rockchip: define gamma registers for RK3399 2024-11-23 23:21:47 +01:00