Searched refs:actual_w (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_plane.c | 67 unsigned int actual_w; in exynos_plane_mode_set() local 91 actual_w = exynos_plane_get_size(crtc_x, crtc_w, mode->hdisplay); in exynos_plane_mode_set() 95 if (actual_w) in exynos_plane_mode_set() 109 exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; in exynos_plane_mode_set() 115 exynos_state->crtc.w = actual_w; in exynos_plane_mode_set()
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 1205 u32 actual_w, actual_h, dsp_w, dsp_h; in vop2_plane_atomic_update() local 1269 actual_w = drm_rect_width(src) >> 16; in vop2_plane_atomic_update() 1279 actual_w = dsp_w * actual_w / drm_rect_width(dest); in vop2_plane_atomic_update() 1298 if (actual_w > dsp_w && (actual_w & 0xf) == 1) { in vop2_plane_atomic_update() 1300 vp->id, win->data->name, actual_w); in vop2_plane_atomic_update() 1301 actual_w -= 1; in vop2_plane_atomic_update() 1305 if (afbc_en && actual_w % 4) { in vop2_plane_atomic_update() 1307 vp->id, win->data->name, actual_w); in vop2_plane_atomic_update() 1308 actual_w = ALIGN_DOWN(actual_w, 4); in vop2_plane_atomic_update() 1311 act_info = (actual_h - 1) << 16 | ((actual_w - 1) & 0xffff); in vop2_plane_atomic_update() [all …]
|
H A D | rockchip_drm_vop.c | 921 unsigned int actual_w, actual_h; in vop_plane_atomic_update() local 954 actual_w = drm_rect_width(src) >> 16; in vop_plane_atomic_update() 956 act_info = (actual_h - 1) << 16 | ((actual_w - 1) & 0xffff); in vop_plane_atomic_update() 1033 scl_vop_cal_scl_fac(vop, win, actual_w, actual_h, in vop_plane_atomic_update()
|