Home
last modified time | relevance | path

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

12

/linux/include/drm/
H A Ddrm_rect.h74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
89 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \
196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function
210 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
238 drm_rect_height(src) >> 16); in drm_rect_fp_to_int()
/linux/drivers/gpu/drm/
H A Ddrm_rect.c106 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
107 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
122 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
123 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
207 int src_h = drm_rect_height(src); in drm_rect_calc_vscale()
208 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale()
H A Ddrm_plane_helper.c114 .src_h = drm_rect_height(src), in drm_plane_helper_check_update()
118 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
H A Ddrm_format_helper.c146 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm()
188 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm_toio()
423 unsigned int i, y, lines = drm_rect_height(clip); in drm_fb_memcpy()
1243 unsigned int lines = drm_rect_height(clip); in drm_fb_xrgb8888_to_mono()
1331 unsigned int lines = drm_rect_height(clip); in drm_fb_xrgb8888_to_gray2()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_pfit.c27 int height = drm_rect_height(dst); in intel_pch_pfit_check_dst_window()
75 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in intel_pch_pfit_check_src_size()
114 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in intel_pch_pfit_check_scaling()
135 pipe_src_h, drm_rect_height(dst), in intel_pch_pfit_check_scaling()
192 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in pch_panel_fitting()
348 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i965_scale_aspect()
369 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i9xx_scale_aspect()
459 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in gmch_panel_fitting()
578 int height = drm_rect_height(dst); in ilk_pfit_enable()
H A Dskl_scaler.c169 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in skl_update_scaler()
276 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
285 drm_rect_height(&crtc_state->pipe_src), in skl_update_scaler_crtc()
318 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
320 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
482 drm_rect_height(&crtc_state->pipe_src) << 16); in intel_atomic_setup_scaler()
782 height = drm_rect_height(&dest); in skl_scaler_setup_casf()
787 drm_rect_height(&crtc_state->pipe_src) << 16); in skl_scaler_setup_casf()
811 int height = drm_rect_height(dst); in skl_pfit_enable()
831 drm_rect_height(&crtc_state->pipe_src) << 16); in skl_pfit_enable()
[all …]
H A Dintel_plane.c213 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate()
215 dst_h = drm_rect_height(dst); in intel_adjusted_rate()
280 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate()
466 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_is_scaled()
468 int dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_is_scaled()
1096 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c130 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw()
131 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
171 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk()
173 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
374 ot_params.height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit()
540 u32 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_setup_scaler()
542 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
600 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe()
750 (drm_rect_height(&new_plane_state->src) >> 16 != in dpu_plane_atomic_check_pipe()
751 drm_rect_height(&new_plane_state->dst)))) in dpu_plane_atomic_check_pipe()
[all …]
H A Ddpu_hw_sspp.h368 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_setup_rects_impl()
371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl()
/linux/drivers/gpu/drm/armada/
H A Darmada_plane.c109 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check()
111 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check()
113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check()
115 st->dst_hw = drm_rect_height(&new_plane_state->dst); in armada_drm_plane_atomic_check()
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c69 height = drm_rect_height(rect); in gud_xrgb8888_to_r124()
116 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
164 len = pitch * drm_rect_height(rect); in gud_prep_flush()
215 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush()
340 lines = drm_rect_height(damage); in gud_flush_damage()
345 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-plane.c54 int src_h = drm_rect_height(&state->src) >> 16; in dc_plane_check_max_source_resolution()
147 src_h = drm_rect_height(&new_state->src) >> 16; in dc_plane_atomic_update()
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_layer.c74 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord()
76 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
H A Dsun8i_vi_layer.c84 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord()
86 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_vsp.c136 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rzg2l_du_vsp_plane_setup()
141 cfg.dst.height = drm_rect_height(&state->state.dst); in rzg2l_du_vsp_plane_setup()
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.c418 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check()
430 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check()
621 height = drm_rect_height(&new_state->src) >> 16; in ipu_plane_atomic_update()
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c305 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update()
307 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_vsp.c238 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
243 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
/linux/drivers/gpu/drm/tests/
H A Ddrm_rect_test.c22 KUNIT_EXPECT_EQ(test, drm_rect_height(r), drm_rect_height(expected)); in drm_rect_compare()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c433 u32 height = drm_rect_height(src) >> 16; in vop2_afbc_transform_offset()
1029 src_h = drm_rect_height(src) >> 16; in vop2_plane_atomic_check()
1031 dest_h = drm_rect_height(dest); in vop2_plane_atomic_check()
1230 src_h = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
1232 dsp_h = drm_rect_height(dest); in vop2_plane_atomic_update()
1358 src_w = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
1946 drm_rect_height(src) >> 16); in vop2_plane_state_dump()
1948 drm_rect_width(dst), drm_rect_height(dst)); in vop2_plane_state_dump()
/linux/drivers/gpu/drm/tegra/
H A Dplane.c242 src_h = drm_rect_height(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth()
244 dst_h = drm_rect_height(&state->dst); in tegra_plane_calculate_memory_bandwidth()
H A Ddc.c749 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update()
753 window.dst.h = drm_rect_height(&new_state->dst); in tegra_plane_atomic_update()
989 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in __tegra_cursor_atomic_update()
2066 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2067 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_crtc_update_memory_bandwidth()
2069 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2070 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
/linux/drivers/gpu/drm/adp/
H A Dadp_drv.c174 src_size = drm_rect_width(&src_rect) << 16 | drm_rect_height(&src_rect); in adp_plane_atomic_update()
176 drm_rect_height(&new_state->dst); in adp_plane_atomic_update()
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c302 return drm_rect_width(rect) * drm_rect_height(rect) * in rect_size()
425 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
/linux/drivers/gpu/drm/arm/
H A Dhdlcd_crtc.c282 dest_h = drm_rect_height(&new_plane_state->dst); in hdlcd_plane_atomic_update()

12