mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop2: Change > to >= for gt2/gt4 check
According to test: Cluster can work with >, But Esmart must enable gt2 when src_h = 2 * dst_h; Change-Id: I3347eb4e340df093f7ab29afcb3a80ae5e03b0cc Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This commit is contained in:
@@ -1116,9 +1116,9 @@ static void vop2_setup_scale(struct vop2 *vop2, const struct vop2_win *win,
|
||||
else
|
||||
vscl_filter_mode = win_data->vsd_filter_mode;
|
||||
|
||||
if (src_h > (4 * dst_h))
|
||||
if (src_h >= (4 * dst_h))
|
||||
gt4 = 1;
|
||||
else if (src_h > (2 * dst_h))
|
||||
else if (src_h >= (2 * dst_h))
|
||||
gt2 = 1;
|
||||
|
||||
if (gt4)
|
||||
|
||||
Reference in New Issue
Block a user