]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: vop2: Enforce scaling workaround in plane_check
authorDaniel Stone <daniels@collabora.com>
Mon, 15 Dec 2025 14:09:20 +0000 (15:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Jan 2026 19:00:34 +0000 (20:00 +0100)
commitdfb673c71fc0039a6495731d0c0fcefa8a97541d
tree0dd7f951cebeb2cf73c5da61d2982f69386d5de9
parentf403945d240417761d404cb1ce8fa2c1ec02daf5
drm/rockchip: vop2: Enforce scaling workaround in plane_check

It seems only cluster windows are capable of applying downscaling when
the source region has an odd width. Instead of applying a workaround
inside atomic_update, fail the plane check if this is requested.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251215-vop2-atomic-fixups-v5-4-83463c075a8d@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c