drm/rockchip: vop: Support dithering to RGB666
authorUrja Rannikko <urjaman@gmail.com>
Mon, 18 Mar 2019 15:44:12 +0000 (15:44 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Mar 2019 22:39:12 +0000 (23:39 +0100)
commita5c0fa44e9c18223a6651f2697e97b223a693c3a
tree1dfbeba8fe4ebd59f66cb50e3d6ca52d917d4c62
parent530b28426a94b822b3c03491cde5c9a961d80e7f
drm/rockchip: vop: Support dithering to RGB666

Splits out the dither register bits and introduces
the same config enumerations as in the rockchip kernel tree.
Tested to fix the banding on my ASUS C201.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190318154412.26994-1-urjaman@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.h
drivers/gpu/drm/rockchip/rockchip_vop_reg.c