Home
last modified time | relevance | path

Searched refs:drm_rect_width (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/include/drm/
Ddrm_rect.h53 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
67 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \
132 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() function
158 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
/Linux-v5.4/drivers/gpu/drm/armada/
Darmada_plane.c146 st->src_hw |= drm_rect_width(&state->src) >> 16; in armada_drm_plane_atomic_check()
150 st->dst_hw |= drm_rect_width(&state->dst) & 0x0000ffff; in armada_drm_plane_atomic_check()
229 if (drm_rect_width(&old_state->src) != drm_rect_width(&state->src) || in armada_drm_primary_plane_atomic_update()
230 drm_rect_width(&old_state->dst) != drm_rect_width(&state->dst)) { in armada_drm_primary_plane_atomic_update()
232 if (drm_rect_width(&state->src) >> 16 != in armada_drm_primary_plane_atomic_update()
233 drm_rect_width(&state->dst)) in armada_drm_primary_plane_atomic_update()
Darmada_overlay.c159 if (drm_rect_width(&old_state->src) != drm_rect_width(&state->src) || in armada_drm_overlay_plane_atomic_update()
160 drm_rect_width(&old_state->dst) != drm_rect_width(&state->dst)) { in armada_drm_overlay_plane_atomic_update()
162 if (drm_rect_width(&state->src) >> 16 != in armada_drm_overlay_plane_atomic_update()
163 drm_rect_width(&state->dst)) in armada_drm_overlay_plane_atomic_update()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_rect.c89 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
90 drm_rect_width(dst), diff); in drm_rect_clip_scaled()
105 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
106 drm_rect_width(dst), diff); in drm_rect_clip_scaled()
163 int src_w = drm_rect_width(src); in drm_rect_calc_hscale()
164 int dst_w = drm_rect_width(dst); in drm_rect_calc_hscale()
Ddrm_plane_helper.c119 .src_w = drm_rect_width(src), in drm_plane_helper_check_update()
123 .crtc_w = drm_rect_width(dst), in drm_plane_helper_check_update()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c159 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level()
161 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level()
237 drm_rect_width(&pdpu->pipe_cfg.src_rect)); in _dpu_plane_set_qos_lut()
379 ot_params.width = drm_rect_width(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit()
557 drm_rect_width(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler()
559 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
597 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
704 drm_rect_width(&src[i]) > width_threshold) in dpu_plane_validate_multirect_v2()
828 if (drm_rect_width(fb_rect) > MAX_IMG_WIDTH || in dpu_plane_validate_src()
833 if (drm_rect_width(src) < min_src_size || in dpu_plane_validate_src()
[all …]
Ddpu_hw_sspp.c458 drm_rect_width(&cfg->src_rect); in dpu_hw_sspp_setup_rects()
461 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
Ddpu_crtc.c107 cfg.out_width = drm_rect_width(lm_roi); in _dpu_crtc_program_lm_output_roi()
1018 } else if (right_rect.x1 != drm_rect_width(&left_rect)) { in dpu_crtc_atomic_check()
/Linux-v5.4/drivers/gpu/drm/imx/
Dipuv3-plane.c384 if (drm_rect_width(&state->dst) < 13) in ipu_plane_atomic_check()
405 (drm_rect_width(&state->dst) != drm_rect_width(&old_state->dst) || in ipu_plane_atomic_check()
593 drm_rect_width(&state->src) >> 16, in ipu_plane_atomic_update()
626 ipu_dmfc_config_wait4eot(ipu_plane->dmfc, drm_rect_width(dst)); in ipu_plane_atomic_update()
628 width = drm_rect_width(&state->src) >> 16; in ipu_plane_atomic_update()
692 drm_rect_width(&state->src) >> 16, in ipu_plane_atomic_update()
/Linux-v5.4/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c41 drm_rect_width(&plane_state->src) != src_w || in check_src_eq()
66 drm_rect_width(&plane_state->dst) != crtc_w || in check_crtc_eq()
/Linux-v5.4/drivers/gpu/drm/vkms/
Dvkms_composer.c27 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc()
73 int w_dst = drm_rect_width(&src_composer->dst); in blend()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_sprite.c299 src_w = drm_rect_width(src) >> 16; in intel_plane_check_src_coordinates()
370 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in skl_program_scaler()
555 u32 src_w = drm_rect_width(&plane_state->base.src) >> 16; in skl_program_plane()
943 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in vlv_update_plane()
1159 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in ivb_update_plane()
1163 u32 src_w = drm_rect_width(&plane_state->base.src) >> 16; in ivb_update_plane()
1412 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in g4x_update_plane()
1416 u32 src_w = drm_rect_width(&plane_state->base.src) >> 16; in g4x_update_plane()
1536 crtc_w = drm_rect_width(dst); in g4x_sprite_check_scaling()
1540 src_w = drm_rect_width(src) >> 16; in g4x_sprite_check_scaling()
[all …]
Dintel_fbc.c680 cache->plane.src_w = drm_rect_width(&plane_state->base.src) >> 16; in intel_fbc_update_state_cache()
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c91 src_w = drm_rect_width(&state->src) >> 16; in sun8i_ui_layer_update_coord()
93 dst_w = drm_rect_width(&state->dst); in sun8i_ui_layer_update_coord()
Dsun8i_vi_layer.c88 src_w = drm_rect_width(&state->src) >> 16; in sun8i_vi_layer_update_coord()
90 dst_w = drm_rect_width(&state->dst); in sun8i_vi_layer_update_coord()
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c164 cfg.src.width = drm_rect_width(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
169 cfg.dst.width = drm_rect_width(&state->state.dst); in rcar_du_vsp_plane_setup()
Drcar_du_plane.c356 pitch = drm_rect_width(&state->state.src) >> 16; in rcar_du_plane_setup_scanout()
528 rcar_du_plane_write(rgrp, index, PnDSXR, drm_rect_width(dst)); in rcar_du_plane_setup_format()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c133 state->pending.width = drm_rect_width(&plane->state->dst); in mtk_plane_atomic_update()
/Linux-v5.4/drivers/gpu/drm/zte/
Dzx_plane.c207 src_w = drm_rect_width(src) >> 16; in zx_vl_plane_atomic_update()
212 dst_w = drm_rect_width(dst); in zx_vl_plane_atomic_update()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_stdu.c1235 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1335 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1464 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1508 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
Dvmwgfx_kms.c1467 (drm_rect_width(&rects[i]) > dev_priv->stdu_max_width || in vmw_kms_check_display_memory()
1480 total_pixels += (u64) drm_rect_width(&rects[i]) * in vmw_kms_check_display_memory()
2051 du->pref_width = drm_rect_width(&rects[du->unit]); in vmw_du_update_layout()
/Linux-v5.4/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c622 state->src_w = drm_rect_width(&s->src); in atmel_hlcdc_plane_atomic_check()
626 state->crtc_w = drm_rect_width(&s->dst); in atmel_hlcdc_plane_atomic_check()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c822 actual_w = drm_rect_width(src) >> 16; in vop_plane_atomic_update()
827 dsp_info |= (drm_rect_width(dest) - 1) & 0xffff; in vop_plane_atomic_update()
882 drm_rect_width(dest), drm_rect_height(dest), in vop_plane_atomic_update()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c948 src_w = drm_rect_width(src); in mdp5_plane_mode_set()
953 crtc_w = drm_rect_width(dest); in mdp5_plane_mode_set()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_pm.c1151 width = drm_rect_width(&plane_state->base.dst); in g4x_compute_wm()
2527 drm_rect_width(&plane_state->base.dst), in ilk_compute_pri_wm()
2555 drm_rect_width(&plane_state->base.dst), in ilk_compute_spr_wm()
2595 return ilk_wm_fbc(pri_val, drm_rect_width(&plane_state->base.dst), cpp); in ilk_compute_fbc_wm()
3145 (drm_rect_width(&sprstate->base.dst) != drm_rect_width(&sprstate->base.src) >> 16 || in ilk_compute_pipe_wm()
4098 src_w = drm_rect_width(&plane_state->base.src) >> 16; in skl_plane_downscale_amount()
4100 dst_w = drm_rect_width(&plane_state->base.dst); in skl_plane_downscale_amount()
4230 width = drm_rect_width(&plane_state->base.src) >> 16; in skl_plane_relative_data_rate()
4746 width = drm_rect_width(&plane_state->base.src) >> 16; in skl_compute_plane_wm_params()

12