/Linux-v4.19/include/drm/ |
D | drm_rect.h | 53 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 68 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \ 144 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function 158 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_rect.c | 95 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled() 96 drm_rect_height(dst), diff); in drm_rect_clip_scaled() 111 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled() 112 drm_rect_height(dst), diff); in drm_rect_clip_scaled() 196 int src_h = drm_rect_height(src); in drm_rect_calc_vscale() 197 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale() 291 int src_h = drm_rect_height(src); in drm_rect_calc_vscale_relaxed() 292 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale_relaxed()
|
D | drm_plane_helper.c | 147 .src_h = drm_rect_height(src), in drm_plane_helper_check_update() 151 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
|
/Linux-v4.19/drivers/gpu/drm/armada/ |
D | armada_hw.h | 321 return (drm_rect_height(r) & 0xffff0000) | drm_rect_width(r) >> 16; in armada_rect_hw_fp() 326 return drm_rect_height(r) << 16 | (drm_rect_width(r) & 0x0000ffff); in armada_rect_hw()
|
/Linux-v4.19/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 395 if (drm_rect_height(&state->dst) < 2) in ipu_plane_atomic_check() 407 drm_rect_height(&state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check() 578 drm_rect_height(&state->src) >> 16, in ipu_plane_atomic_update() 636 height = drm_rect_height(&state->src) >> 16; in ipu_plane_atomic_update() 699 drm_rect_height(&state->src) >> 16); in ipu_plane_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/selftests/ |
D | test-drm-helper.c | 54 drm_rect_height(&plane_state->src) != src_h) { in check_src_eq() 79 drm_rect_height(&plane_state->dst) != crtc_h) { in check_crtc_eq()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_sprite.c | 249 uint32_t crtc_h = drm_rect_height(&plane_state->base.dst); in skl_update_plane() 253 uint32_t src_h = drm_rect_height(&plane_state->base.src) >> 16; in skl_update_plane() 552 uint32_t crtc_h = drm_rect_height(&plane_state->base.dst); in vlv_update_plane() 711 uint32_t crtc_h = drm_rect_height(&plane_state->base.dst); in ivb_update_plane() 715 uint32_t src_h = drm_rect_height(&plane_state->base.src) >> 16; in ivb_update_plane() 875 uint32_t crtc_h = drm_rect_height(&plane_state->base.dst); in g4x_update_plane() 879 uint32_t src_h = drm_rect_height(&plane_state->base.src) >> 16; in g4x_update_plane() 1022 unsigned int crtc_h = drm_rect_height(dst); in intel_check_sprite_plane() 1034 src_h = drm_rect_height(src) >> 16; in intel_check_sprite_plane()
|
D | intel_display.c | 2989 int h = drm_rect_height(&plane_state->base.src) >> 16; in skl_check_main_surface() 3095 if (((drm_rect_height(&plane_state->base.src) >> 16) % 4) != 0) { in skl_check_nv12_surface() 3113 int h = drm_rect_height(&plane_state->base.src) >> 17; in skl_check_nv12_aux_surface() 3293 int src_h = drm_rect_height(&plane_state->base.src) >> 16; in i9xx_check_plane_surface() 4929 drm_rect_height(&plane_state->base.src) >> 16, in skl_update_scaler_plane() 4931 drm_rect_height(&plane_state->base.dst), in skl_update_scaler_plane() 10493 drm_rect_height(&new->base.src) != drm_rect_height(&cur->base.src) || in intel_wm_need_update() 10495 drm_rect_height(&new->base.dst) != drm_rect_height(&cur->base.dst)) in intel_wm_need_update() 10504 int src_h = drm_rect_height(&state->base.src) >> 16; in needs_scaling() 10506 int dst_h = drm_rect_height(&state->base.dst); in needs_scaling() [all …]
|
D | intel_fbc.c | 671 cache->plane.src_h = drm_rect_height(&plane_state->base.src) >> 16; in intel_fbc_update_state_cache()
|
D | intel_pm.c | 3084 drm_rect_height(&sprstate->base.dst) != drm_rect_height(&sprstate->base.src) >> 16); in ilk_compute_pipe_wm() 3996 src_h = drm_rect_height(&pstate->base.src) >> 16; in skl_plane_downscale_amount() 3998 dst_h = drm_rect_height(&pstate->base.dst); in skl_plane_downscale_amount() 4131 height = drm_rect_height(&intel_pstate->base.src) >> 16; in skl_plane_relative_data_rate() 4217 src_h = drm_rect_height(&intel_pstate->base.src) >> 16; in skl_ddb_min_alloc()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 491 ot_params.height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit() 755 drm_rect_height(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler() 757 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 809 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 1066 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src() 1071 drm_rect_height(src) < min_src_size) in dpu_plane_validate_src() 1127 if (drm_rect_height(&src) < drm_rect_height(&dst)) in dpu_plane_sspp_atomic_check() 1160 drm_rect_height(&src) & 0x1)) { in dpu_plane_sspp_atomic_check() 1166 } else if (drm_rect_width(&dst) < 0x1 || drm_rect_height(&dst) < 0x1) { in dpu_plane_sspp_atomic_check()
|
D | dpu_hw_sspp.c | 466 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_sspp_setup_rects() 469 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
|
D | dpu_crtc.c | 329 cfg.out_height = drm_rect_height(lm_roi); in _dpu_crtc_program_lm_output_roi() 1670 drm_rect_height(&left_rect) != drm_rect_height(&right_rect)) { in dpu_crtc_atomic_check()
|
/Linux-v4.19/drivers/gpu/drm/meson/ |
D | meson_vpp.c | 69 (drm_rect_height(input) - 1), in meson_vpp_setup_interlace_vscaler_osd1()
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_layer.c | 87 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord() 89 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
|
D | sun8i_vi_layer.c | 83 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord() 85 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
|
/Linux-v4.19/drivers/gpu/drm/rcar-du/ |
D | rcar_du_vsp.c | 193 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup() 198 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
|
D | rcar_du_plane.c | 533 rcar_du_plane_write(rgrp, index, PnDSYR, drm_rect_height(dst)); in rcar_du_plane_setup_format()
|
/Linux-v4.19/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 141 state->pending.height = drm_rect_height(&plane->state->dst); in mtk_plane_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/zte/ |
D | zx_plane.c | 213 src_h = drm_rect_height(src) >> 16; in zx_vl_plane_atomic_update() 218 dst_h = drm_rect_height(dst); in zx_vl_plane_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/arm/ |
D | hdlcd_crtc.c | 267 dest_h = drm_rect_height(&plane->state->dst); in hdlcd_plane_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 743 actual_h = drm_rect_height(src) >> 16; in vop_plane_atomic_update() 746 dsp_info = (drm_rect_height(dest) - 1) << 16; in vop_plane_atomic_update() 782 drm_rect_width(dest), drm_rect_height(dest), in vop_plane_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 959 src_h = drm_rect_height(src); in mdp5_plane_mode_set() 964 crtc_h = drm_rect_height(dest); in mdp5_plane_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 1526 drm_rect_height(&rects[i]) > dev_priv->stdu_max_height)) { in vmw_kms_check_display_memory() 1539 (u64) drm_rect_height(&rects[i]); in vmw_kms_check_display_memory() 2018 du->pref_height = drm_rect_height(&rects[du->unit]); in vmw_du_update_layout()
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | dc.c | 698 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_plane_atomic_update() 702 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_plane_atomic_update()
|