/Linux-v5.15/include/drm/ |
D | drm_rect.h | 58 #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/ |
D | armada_plane.c | 123 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()
|
D | armada_overlay.c | 164 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/ |
D | drm_rect.c | 99 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()
|
D | drm_plane_helper.c | 119 .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()
|
D | drm_format_helper.c | 100 size_t len = drm_rect_width(clip) * cpp; in drm_fb_swab()
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 77 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 …]
|
D | skl_scaler.c | 190 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()
|
D | intel_sprite.c | 77 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()
|
D | i9xx_plane.c | 244 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()
|
D | skl_universal_plane.c | 1022 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()
|
D | intel_atomic_plane.c | 145 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/ |
D | dpu_plane.c | 172 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/ |
D | gud_pipe.c | 69 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/ |
D | test-drm_plane_helper.c | 41 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/ |
D | ipuv3-plane.c | 35 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/ |
D | vkms_composer.c | 42 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/ |
D | sun8i_ui_layer.c | 112 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()
|
D | sun8i_vi_layer.c | 119 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/ |
D | rcar_du_vsp.c | 167 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()
|
D | rcar_du_plane.c | 356 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/ |
D | dcss-plane.c | 301 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/ |
D | zx_plane.c | 210 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/ |
D | plane.c | 267 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/ |
D | mtk_drm_plane.c | 137 mtk_plane_state->pending.width = drm_rect_width(&new_state->dst); in mtk_plane_update_new_state()
|