Home
last modified time | relevance | path

Searched refs:dsp_w (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c1087 u32 actual_w, actual_h, dsp_w, dsp_h; in vop2_plane_atomic_update() local
1152 dsp_w = drm_rect_width(dest); in vop2_plane_atomic_update()
1154 if (dest->x1 + dsp_w > adjusted_mode->hdisplay) { in vop2_plane_atomic_update()
1156 vp->id, win->data->name, dest->x1, dsp_w, adjusted_mode->hdisplay); in vop2_plane_atomic_update()
1157 dsp_w = adjusted_mode->hdisplay - dest->x1; in vop2_plane_atomic_update()
1158 if (dsp_w < 4) in vop2_plane_atomic_update()
1159 dsp_w = 4; in vop2_plane_atomic_update()
1160 actual_w = dsp_w * actual_w / drm_rect_width(dest); in vop2_plane_atomic_update()
1179 if (actual_w > dsp_w && (actual_w & 0xf) == 1) { in vop2_plane_atomic_update()
1193 dsp_info = (dsp_h - 1) << 16 | ((dsp_w - 1) & 0xffff); in vop2_plane_atomic_update()
[all …]