Revert "drm/rockchip: vop: Allow 4096px width scaling"

This reverts commit d911780415.
This commit is contained in:
Ksawlii 2024-11-24 00:23:26 +01:00
parent b83dd1217a
commit 32d14f5d13

View file

@ -370,8 +370,8 @@ static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win_data *win,
if (info->is_yuv)
is_yuv = true;
if (dst_w > 4096) {
DRM_DEV_ERROR(vop->dev, "Maximum dst width (4096) exceeded\n");
if (dst_w > 3840) {
DRM_DEV_ERROR(vop->dev, "Maximum dst width (3840) exceeded\n");
return;
}