Commit 662e44b6 authored by Andy Yan's avatar Andy Yan Committed by Greg Kroah-Hartman
Browse files

drm/rockchip: vop2: clear afbc en and transform bit for cluster window at linear mode



[ Upstream commit 20529a68 ]

The enable bit and transform offset of cluster windows should be
cleared when it work at linear mode, or we may have a iommu fault
issue on rk3588 which cluster windows switch between afbc and linear
mode.

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

Signed-off-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Reviewed-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231211115741.1784954-1-andyshrk@163.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0ace3506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment