Home
last modified time | relevance | path

Searched refs:drm_rect_height (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/include/drm/
Ddrm_rect.h55 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
70 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \
177 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function
191 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_rect.c107 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
108 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
123 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
124 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
208 int src_h = drm_rect_height(src); in drm_rect_calc_vscale()
209 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale()
Ddrm_plane_helper.c120 .src_h = drm_rect_height(src), in drm_plane_helper_check_update()
124 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
/Linux-v5.10/drivers/gpu/drm/armada/
Darmada_plane.c136 st->src_hw = drm_rect_height(&state->src) >> 17; in armada_drm_plane_atomic_check()
138 st->dst_hw = drm_rect_height(&state->dst) >> 1; in armada_drm_plane_atomic_check()
140 st->src_hw = drm_rect_height(&state->src) >> 16; in armada_drm_plane_atomic_check()
142 st->dst_hw = drm_rect_height(&state->dst); in armada_drm_plane_atomic_check()
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c162 src_height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_bw()
163 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_bw()
200 src_height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_clk()
202 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk()
465 ot_params.height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit()
651 drm_rect_height(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler()
653 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
692 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
922 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src()
927 drm_rect_height(src) < min_src_size) in dpu_plane_validate_src()
[all …]
Ddpu_hw_sspp.c472 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_sspp_setup_rects()
475 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
Ddpu_crtc.c111 cfg.out_height = drm_rect_height(lm_roi); in _dpu_crtc_program_lm_output_roi()
1024 drm_rect_height(&left_rect) != drm_rect_height(&right_rect)) { in dpu_crtc_atomic_check()
/Linux-v5.10/drivers/gpu/drm/imx/
Dipuv3-plane.c394 if (drm_rect_height(&state->dst) < 2) in ipu_plane_atomic_check()
406 drm_rect_height(&state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check()
594 drm_rect_height(&state->src) >> 16, in ipu_plane_atomic_update()
629 height = drm_rect_height(&state->src) >> 16; in ipu_plane_atomic_update()
693 drm_rect_height(&state->src) >> 16); in ipu_plane_atomic_update()
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c42 drm_rect_height(&plane_state->src) != src_h) { in check_src_eq()
67 drm_rect_height(&plane_state->dst) != crtc_h) { in check_crtc_eq()
/Linux-v5.10/drivers/gpu/drm/vkms/
Dvkms_composer.c40 int h_src = drm_rect_height(&composer->src) >> 16; in compute_crc()
104 int h_dst = drm_rect_height(&src_composer->dst); in blend()
/Linux-v5.10/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c92 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord()
94 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
Dsun8i_vi_layer.c90 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord()
92 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
/Linux-v5.10/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c166 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
171 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
Drcar_du_plane.c529 rcar_du_plane_write(rgrp, index, PnDSYR, drm_rect_height(dst)); in rcar_du_plane_setup_format()
/Linux-v5.10/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c297 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update()
299 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_sprite.c306 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
428 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_scaler()
627 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in skl_program_plane()
1090 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_update_plane()
1507 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_update_plane()
1511 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_update_plane()
1816 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_update_plane()
1820 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_update_plane()
1947 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling()
1951 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling()
Dintel_atomic_plane.c143 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_pixel_rate()
145 dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_pixel_rate()
Dintel_display.c3170 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_remap_gtt()
3893 int h = drm_rect_height(&plane_state->uapi.src) >> 16; in skl_check_main_surface()
4005 int h = drm_rect_height(&plane_state->uapi.src) >> 17; in skl_check_nv12_aux_surface()
4351 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
4432 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_update_plane()
6162 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
6205 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
6207 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
6292 int height = drm_rect_height(dst); in skl_pfit_enable()
6337 int height = drm_rect_height(dst); in ilk_pfit_enable()
[all …]
/Linux-v5.10/drivers/gpu/drm/zte/
Dzx_plane.c208 src_h = drm_rect_height(src) >> 16; in zx_vl_plane_atomic_update()
213 dst_h = drm_rect_height(dst); in zx_vl_plane_atomic_update()
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c212 state->pending.height = drm_rect_height(&plane->state->dst); in mtk_plane_atomic_update()
/Linux-v5.10/drivers/gpu/drm/arm/
Dhdlcd_crtc.c269 dest_h = drm_rect_height(&plane->state->dst); in hdlcd_plane_atomic_update()
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_stdu.c1224 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1324 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1453 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1497 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
/Linux-v5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c622 state->src_h = drm_rect_height(&s->src); in atmel_hlcdc_plane_atomic_check()
626 state->crtc_h = drm_rect_height(&s->dst); in atmel_hlcdc_plane_atomic_check()
/Linux-v5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c949 src_h = drm_rect_height(src); in mdp5_plane_mode_set()
954 crtc_h = drm_rect_height(dest); in mdp5_plane_mode_set()
/Linux-v5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c915 actual_h = drm_rect_height(src) >> 16; in vop_plane_atomic_update()
918 dsp_info = (drm_rect_height(dest) - 1) << 16; in vop_plane_atomic_update()
984 drm_rect_width(dest), drm_rect_height(dest), in vop_plane_atomic_update()

12