Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/drm/
Ddrm_rect.h58 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
72 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \
168 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() function
194 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
221 drm_rect_width(src) >> 16, in drm_rect_fp_to_int()
/Linux-v5.15/drivers/gpu/drm/armada/
Darmada_plane.c123 st->src_hw |= drm_rect_width(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check()
127 st->dst_hw |= drm_rect_width(&new_plane_state->dst) & 0x0000ffff; in armada_drm_plane_atomic_check()
211 if (drm_rect_width(&old_state->src) != drm_rect_width(&new_state->src) || in armada_drm_primary_plane_atomic_update()
212 drm_rect_width(&old_state->dst) != drm_rect_width(&new_state->dst)) { in armada_drm_primary_plane_atomic_update()
214 if (drm_rect_width(&new_state->src) >> 16 != in armada_drm_primary_plane_atomic_update()
215 drm_rect_width(&new_state->dst)) in armada_drm_primary_plane_atomic_update()
Darmada_overlay.c164 if (drm_rect_width(&old_state->src) != drm_rect_width(&new_state->src) || in armada_drm_overlay_plane_atomic_update()
165 drm_rect_width(&old_state->dst) != drm_rect_width(&new_state->dst)) { in armada_drm_overlay_plane_atomic_update()
167 if (drm_rect_width(&new_state->src) >> 16 != in armada_drm_overlay_plane_atomic_update()
168 drm_rect_width(&new_state->dst)) in armada_drm_overlay_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_rect.c99 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
100 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
115 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
116 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
173 int src_w = drm_rect_width(src); in drm_rect_calc_hscale()
174 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()
Ddrm_format_helper.c100 size_t len = drm_rect_width(clip) * cpp; in drm_fb_swab()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_cursor.c77 int width = drm_rect_width(&plane_state->uapi.dst); in intel_cursor_size_ok()
123 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
203 int width = drm_rect_width(&plane_state->uapi.dst); in i845_cursor_size_ok()
231 drm_rect_width(&plane_state->uapi.dst), in i845_check_cursor()
265 unsigned int width = drm_rect_width(&plane_state->uapi.dst); in i845_update_cursor()
368 switch (drm_rect_width(&plane_state->uapi.dst)) { in i9xx_cursor_ctl()
379 MISSING_CASE(drm_rect_width(&plane_state->uapi.dst)); in i9xx_cursor_ctl()
397 int width = drm_rect_width(&plane_state->uapi.dst); in i9xx_cursor_size_ok()
452 drm_rect_width(&plane_state->uapi.dst), in i9xx_check_cursor()
461 drm_rect_width(&plane_state->uapi.dst) * fb->format->cpp[0]) { in i9xx_check_cursor()
[all …]
Dskl_scaler.c190 width = drm_rect_width(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
232 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
234 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane()
409 int width = drm_rect_width(dst); in skl_pfit_enable()
468 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_program_plane_scaler()
Dintel_sprite.c77 src_w = drm_rect_width(src) >> 16; in intel_plane_check_src_coordinates()
432 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in vlv_update_plane()
627 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_sprite_min_cdclk()
628 dst_w = drm_rect_width(&plane_state->uapi.dst); in ivb_sprite_min_cdclk()
849 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in ivb_update_plane()
853 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_update_plane()
1177 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in g4x_update_plane()
1181 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in g4x_update_plane()
1307 crtc_w = drm_rect_width(dst); in g4x_sprite_check_scaling()
1311 src_w = drm_rect_width(src) >> 16; in g4x_sprite_check_scaling()
Di9xx_plane.c244 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
297 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
432 int crtc_w = drm_rect_width(&plane_state->uapi.dst); in i9xx_update_plane()
Dskl_universal_plane.c1022 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_program_plane()
1269 int crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_plane_check_dst_coordinates()
1298 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_check_nv12_rotation()
1416 const int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_calc_main_surface_offset()
1466 const int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_check_main_surface()
1539 int w = drm_rect_width(&plane_state->uapi.src) >> 17; in skl_check_nv12_aux_surface()
Dintel_atomic_plane.c145 src_w = drm_rect_width(src) >> 16; in intel_adjusted_rate()
147 dst_w = drm_rect_width(dst); in intel_adjusted_rate()
/Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c172 src_width = drm_rect_width(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_bw()
219 dst_width = drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk()
262 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level()
264 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level()
340 drm_rect_width(&pdpu->pipe_cfg.src_rect)); in _dpu_plane_set_qos_lut()
479 ot_params.width = drm_rect_width(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit()
665 drm_rect_width(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler()
667 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
705 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
812 drm_rect_width(&src[i]) > width_threshold) in dpu_plane_validate_multirect_v2()
[all …]
/Linux-v5.15/drivers/gpu/drm/gud/
Dgud_pipe.c69 width = drm_rect_width(rect); in gud_xrgb8888_to_r124()
113 width = drm_rect_width(rect); in gud_xrgb8888_to_color()
161 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush()
209 req->width = cpu_to_le32(drm_rect_width(rect)); in gud_prep_flush()
381 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(&damage)); in gud_flush_work()
/Linux-v5.15/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.15/drivers/gpu/drm/imx/
Dipuv3-plane.c35 return ALIGN(drm_rect_width(&state->src) >> 16, 8); in ipu_src_rect_width()
413 if (drm_rect_width(&new_state->dst) < 13) in ipu_plane_atomic_check()
434 (drm_rect_width(&new_state->dst) != drm_rect_width(&old_state->dst) || in ipu_plane_atomic_check()
686 ipu_dmfc_config_wait4eot(ipu_plane->dmfc, ALIGN(drm_rect_width(dst), 8)); in ipu_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/vkms/
Dvkms_composer.c42 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc()
128 int w_dst = drm_rect_width(&src_composer->dst); in blend()
/Linux-v5.15/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c112 src_w = drm_rect_width(&state->src) >> 16; in sun8i_ui_layer_update_coord()
114 dst_w = drm_rect_width(&state->dst); in sun8i_ui_layer_update_coord()
Dsun8i_vi_layer.c119 src_w = drm_rect_width(&state->src) >> 16; in sun8i_vi_layer_update_coord()
121 dst_w = drm_rect_width(&state->dst); in sun8i_vi_layer_update_coord()
/Linux-v5.15/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c167 cfg.src.width = drm_rect_width(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
172 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.15/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c301 src_w = drm_rect_width(&src) >> 16; in dcss_plane_atomic_update()
303 dst_w = drm_rect_width(&dst); in dcss_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/zte/
Dzx_plane.c210 src_w = drm_rect_width(src) >> 16; in zx_vl_plane_atomic_update()
215 dst_w = drm_rect_width(dst); in zx_vl_plane_atomic_update()
/Linux-v5.15/drivers/gpu/drm/tegra/
Dplane.c267 src_w = drm_rect_width(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth()
269 dst_w = drm_rect_width(&state->dst); in tegra_plane_calculate_memory_bandwidth()
/Linux-v5.15/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c137 mtk_plane_state->pending.width = drm_rect_width(&new_state->dst); in mtk_plane_update_new_state()

12