]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/rockchip: vop: Allow 4096px width scaling
authorAlex Bee <knaerzche@gmail.com>
Sat, 15 Jun 2024 17:03:54 +0000 (17:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:10:52 +0000 (15:10 +0200)
commitb4cb296e6b89fc159a7b74c27d26ba5618d9c25b
treea1d9a4253e04dbc99b7b66e32e2060fc10374fa5
parent036ab40a0af44b939e4da3379e4586bedc54fd45
drm/rockchip: vop: Allow 4096px width scaling

[ Upstream commit 0ef968d91a20b5da581839f093f98f7a03a804f7 ]

There is no reason to limit VOP scaling to 3840px width, the limit of
RK3288, when there are newer VOP versions that support 4096px width.

Change to enforce a maximum of 4096px width plane scaling, the maximum
supported output width of the VOP versions supported by this driver.

Fixes: 4c156c21c794 ("drm/rockchip: vop: support plane scale")
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240615170417.3134517-4-jonas@kwiboo.se
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c