]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/rockchip: vop2: set half_block_en bit in all mode
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 11 Dec 2023 11:57:30 +0000 (19:57 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 13 Dec 2023 14:17:47 +0000 (15:17 +0100)
commitbebad6bd4fbdc448ad3b337ad281b813e68f6f53
tree5787b181ff284c07ba7c5d848f83177656d6d07e
parent81a06f1d02e588cfa14c5e5953d9dc50b1d404be
drm/rockchip: vop2: set half_block_en bit in all mode

At first we thought the half_block_en bit in AFBCD_CTRL register
only work in afbc mode. But the fact is that it control the line
buffer in all mode(afbc/tile/linear), so we need configure it in
all case.

As the cluster windows of rk3568 only supports afbc format
so is therefore not affected.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231211115730.1784893-1-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c