Home
last modified time | relevance | path

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

12

/linux/include/drm/
A Ddrm_rect.h58 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
73 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \
180 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function
194 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
222 drm_rect_height(src) >> 16); in drm_rect_fp_to_int()
/linux/drivers/gpu/drm/
A 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()
A 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()
A Ddrm_format_helper.c177 for (y = 0; y < drm_rect_height(clip); y++) { in drm_fb_xrgb8888_to_rgb332()
330 for (y = 0; y < drm_rect_height(clip); y++) { in drm_fb_xrgb8888_to_rgb888()
/linux/drivers/gpu/drm/armada/
A Darmada_plane.c113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check()
115 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check()
117 st->src_hw = drm_rect_height(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check()
119 st->dst_hw = drm_rect_height(&new_plane_state->dst); in armada_drm_plane_atomic_check()
/linux/drivers/gpu/drm/gud/
A Dgud_pipe.c70 height = drm_rect_height(rect); in gud_xrgb8888_to_r124()
114 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
162 len = pitch * drm_rect_height(rect); in gud_prep_flush()
216 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush()
388 lines = drm_rect_height(&damage); in gud_flush_work()
393 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(&damage), lines); i++) { in gud_flush_work()
/linux/drivers/gpu/drm/i915/display/
A Dintel_cursor.c78 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok()
124 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
232 drm_rect_height(&plane_state->uapi.dst)); in i845_check_cursor()
266 unsigned int height = drm_rect_height(&plane_state->uapi.dst); in i845_update_cursor()
398 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_size_ok()
453 drm_rect_height(&plane_state->uapi.dst)); in i9xx_check_cursor()
502 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_update_cursor()
A Dskl_scaler.c191 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
233 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
235 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
410 int height = drm_rect_height(dst); in skl_pfit_enable()
469 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler()
A Dintel_sprite.c79 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
433 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_update_plane()
850 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_update_plane()
854 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_update_plane()
1178 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_update_plane()
1182 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_update_plane()
1308 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling()
1312 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling()
A Dintel_atomic_plane.c148 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate()
150 dst_h = drm_rect_height(dst); in intel_adjusted_rate()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_plane.c173 src_height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_bw()
174 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_bw()
218 src_height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_clk()
220 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk()
480 ot_params.height = drm_rect_height(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit()
666 drm_rect_height(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler()
668 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
707 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
937 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src()
942 drm_rect_height(src) < min_src_size) in dpu_plane_validate_src()
[all …]
A Ddpu_hw_sspp.c474 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_sspp_setup_rects()
477 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
A Ddpu_crtc.c332 cfg.out_height = drm_rect_height(lm_roi); in _dpu_crtc_program_lm_output_roi()
1248 drm_rect_height(&left_rect) != drm_rect_height(&right_rect)) { in dpu_crtc_atomic_check()
/linux/drivers/gpu/drm/imx/
A Dipuv3-plane.c423 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check()
435 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check()
632 drm_rect_height(&new_state->src) >> 16, in ipu_plane_atomic_update()
689 height = drm_rect_height(&new_state->src) >> 16; in ipu_plane_atomic_update()
754 drm_rect_height(&new_state->src) >> 16); in ipu_plane_atomic_update()
/linux/drivers/gpu/drm/selftests/
A 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/drivers/gpu/drm/vkms/
A Dvkms_composer.c41 int h_src = drm_rect_height(&composer->src) >> 16; in compute_crc()
127 int h_dst = drm_rect_height(&src_composer->dst); in blend()
/linux/drivers/gpu/drm/sun4i/
A Dsun8i_ui_layer.c113 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord()
115 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
A Dsun8i_vi_layer.c120 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord()
122 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_vsp.c168 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
173 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-plane.c302 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update()
304 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
/linux/drivers/gpu/drm/tegra/
A Dplane.c268 src_h = drm_rect_height(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth()
270 dst_h = drm_rect_height(&state->dst); in tegra_plane_calculate_memory_bandwidth()
A Ddc.c738 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update()
742 window.dst.h = drm_rect_height(&new_state->dst); in tegra_plane_atomic_update()
980 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in tegra_cursor_atomic_update()
1909 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
1910 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_crtc_update_memory_bandwidth()
1912 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
1913 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_plane.c138 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_stdu.c1229 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1329 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1458 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1502 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
/linux/drivers/gpu/drm/arm/
A Dhdlcd_crtc.c275 dest_h = drm_rect_height(&new_plane_state->dst); in hdlcd_plane_atomic_update()

Completed in 47 milliseconds

12