Skip to content
Snippets Groups Projects
Commit 7ae7a621 authored by Hugh Cole-Baker's avatar Hugh Cole-Baker Committed by Heiko Stuebner
Browse files

drm/rockchip: support gamma control on RK3399


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: default avatarHugh Cole-Baker <sigmaris@gmail.com>
Tested-by: default avatar"Milan P. Stanić" <mps@arvanta.net>
Tested-by: default avatarLinus Heckemann <git@sphalerite.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211019215843.42718-3-sigmaris@gmail.com
parent 3ba000d6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment