mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
drm/rockchip: vop2: use dev_dbg instead of DRM_WARN to warn odd dst_w
There are many display scene with odd dst_w, so DRM_WARN will bring too much warning log, which may frighten somebody. Use dev_dbg hide it. Change-Id: I2b132eb49a90792468fbea4e133c9e63aa50bf04 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This commit is contained in:
@@ -1405,7 +1405,7 @@ static void vop2_setup_scale(struct vop2 *vop2, const struct vop2_win *win,
|
||||
*/
|
||||
if (!(win->feature & WIN_FEATURE_AFBDC)) {
|
||||
if ((yrgb_hor_scl_mode == SCALE_DOWN) && (dst_w & 0x1)) {
|
||||
DRM_WARN("%s dst_w[%d] should align as 2 pixel\n", win->name, dst_w);
|
||||
dev_dbg(vop2->dev, "%s dst_w[%d] should align as 2 pixel\n", win->name, dst_w);
|
||||
dst_w += 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user