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)
commit742203cd56d150eb7884eb45abb7d9dbc2bdbf04
treeb9468280b767469d1b7a8cb84c4a380aec5cadcb
parentab64b448a175b8a5a4bd323b8f74758c2574482c
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