]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rockchip: add missing registers for RK3066
authorAlex Bee <knaerzche@gmail.com>
Fri, 28 May 2021 13:05:52 +0000 (15:05 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 28 May 2021 17:27:59 +0000 (19:27 +0200)
commit59c555c1ba0bd6f704a66ee0b47734c6230c7f30
treeb9468280b767469d1b7a8cb84c4a380aec5cadcb
parentc3e55740949af77c5550746de58b9f02b14f2333
drm: rockchip: add missing registers for RK3066

Add dither_up, dsp_lut_en and data_blank registers to enable their
respective functionality for RK3066's VOP.

While at that also fix .rb_swap and .format registers for all windows,
which have to be set though RK3066_SYS_CTRL1 register.
Also remove .scl from win1: Scaling is only supported on the primary
plane.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210528130554.72191-4-knaerzche@gmail.com
drivers/gpu/drm/rockchip/rockchip_vop_reg.c