Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c67 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-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1085 u32 actual_w, actual_h, dsp_w, dsp_h; in vop2_plane_atomic_update() local
1148 actual_w = drm_rect_width(src) >> 16; in vop2_plane_atomic_update()
1158 actual_w = dsp_w * actual_w / drm_rect_width(dest); in vop2_plane_atomic_update()
1177 if (actual_w > dsp_w && (actual_w & 0xf) == 1) { in vop2_plane_atomic_update()
1179 vp->id, win->data->name, actual_w); in vop2_plane_atomic_update()
1180 actual_w -= 1; in vop2_plane_atomic_update()
1184 if (afbc_en && actual_w % 4) { in vop2_plane_atomic_update()
1186 vp->id, win->data->name, actual_w); in vop2_plane_atomic_update()
1187 actual_w = ALIGN_DOWN(actual_w, 4); in vop2_plane_atomic_update()
1190 act_info = (actual_h - 1) << 16 | ((actual_w - 1) & 0xffff); in vop2_plane_atomic_update()
[all …]
Drockchip_drm_vop.c911 unsigned int actual_w, actual_h; in vop_plane_atomic_update() local
944 actual_w = drm_rect_width(src) >> 16; in vop_plane_atomic_update()
946 act_info = (actual_h - 1) << 16 | ((actual_w - 1) & 0xffff); in vop_plane_atomic_update()
1016 scl_vop_cal_scl_fac(vop, win, actual_w, actual_h, in vop_plane_atomic_update()