]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: vop2: Switch impossible pos conditional to WARN_ON
authorDaniel Stone <daniels@collabora.com>
Mon, 15 Dec 2025 14:09:18 +0000 (15:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Jan 2026 19:00:34 +0000 (20:00 +0100)
commit2f4e3f2bef45d1eb4d8204c5f204cf274e8a6ca6
treef311fe034afdf0b9fbdda86d39f282a09aa35ce9
parent78de5d28d7207f816565fa43ec44e6735c319ddf
drm/rockchip: vop2: Switch impossible pos conditional to WARN_ON

We already clip the plane to the display bounds in atomic_check, and
ensure that it is sufficiently sized. Instead of trying to catch this
and adjust for it in atomic_update, just assert that atomic_check has
done its job.

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-2-83463c075a8d@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c