/kernel/linux/linux-5.10/include/drm/ |
D | drm_rect.h | 55 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 69 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \ 165 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() function 191 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
|
/kernel/linux/linux-5.10/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 | 99 size_t len = drm_rect_width(clip) * cpp; in drm_fb_swab()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
D | armada_plane.c | 146 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()
|
D | armada_overlay.c | 159 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 161 src_width = drm_rect_width(&pdpu->pipe_cfg.src_rect); in _dpu_plane_calc_bw() 201 dst_width = drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk() 244 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level() 246 drm_rect_width(&tmp->pipe_cfg.src_rect)); in _dpu_plane_calc_fill_level() 322 drm_rect_width(&pdpu->pipe_cfg.src_rect)); in _dpu_plane_set_qos_lut() 464 ot_params.width = drm_rect_width(&pdpu->pipe_cfg.src_rect); in _dpu_plane_set_ot_limit() 650 drm_rect_width(&pdpu->pipe_cfg.src_rect), in _dpu_plane_setup_scaler() 652 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 690 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 797 drm_rect_width(&src[i]) > width_threshold) in dpu_plane_validate_multirect_v2() [all …]
|
D | dpu_hw_sspp.c | 475 drm_rect_width(&cfg->src_rect); in dpu_hw_sspp_setup_rects() 478 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 384 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 41 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc() 105 int w_dst = drm_rect_width(&src_composer->dst); in blend()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_sprite.c | 304 src_w = drm_rect_width(src) >> 16; in intel_plane_check_src_coordinates() 427 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_program_scaler() 581 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_program_plane() 1044 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in vlv_update_plane() 1239 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_sprite_min_cdclk() 1240 dst_w = drm_rect_width(&plane_state->uapi.dst); in ivb_sprite_min_cdclk() 1461 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in ivb_update_plane() 1465 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_update_plane() 1770 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in g4x_update_plane() 1774 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in g4x_update_plane() [all …]
|
D | intel_atomic_plane.c | 142 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_plane_pixel_rate() 144 dst_w = drm_rect_width(&plane_state->uapi.dst); in intel_plane_pixel_rate()
|
D | intel_display.c | 3166 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_plane_remap_gtt() 3889 int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_check_main_surface() 4001 int w = drm_rect_width(&plane_state->uapi.src) >> 17; in skl_check_nv12_aux_surface() 4321 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface() 4347 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface() 4428 int crtc_w = drm_rect_width(&plane_state->uapi.dst); in i9xx_update_plane() 6160 width = drm_rect_width(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc() 6203 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 6205 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane() 6290 int width = drm_rect_width(dst); in skl_pfit_enable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_layer.c | 91 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()
|
D | sun8i_vi_layer.c | 89 src_w = drm_rect_width(&state->src) >> 16; in sun8i_vi_layer_update_coord() 91 dst_w = drm_rect_width(&state->dst); in sun8i_vi_layer_update_coord()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_vsp.c | 165 cfg.src.width = drm_rect_width(&state->state.src) >> 16; in rcar_du_vsp_plane_setup() 170 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 298 src_w = drm_rect_width(&src) >> 16; in dcss_plane_atomic_update() 300 dst_w = drm_rect_width(&dst); in dcss_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
D | zx_plane.c | 207 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 211 state->pending.width = drm_rect_width(&plane->state->dst); in mtk_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 1223 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip() 1323 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu() 1452 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy() 1496 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 621 state->src_w = drm_rect_width(&s->src); in atmel_hlcdc_plane_atomic_check() 625 state->crtc_w = drm_rect_width(&s->dst); in atmel_hlcdc_plane_atomic_check()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | intel_pm.c | 1169 width = drm_rect_width(&plane_state->uapi.dst); in g4x_compute_wm() 2577 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_pri_wm() 2605 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_spr_wm() 2630 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_cur_wm() 2646 return ilk_wm_fbc(pri_val, drm_rect_width(&plane_state->uapi.dst), in ilk_compute_fbc_wm() 3170 (drm_rect_width(&sprstate->uapi.dst) != drm_rect_width(&sprstate->uapi.src) >> 16 || in ilk_compute_pipe_wm() 4399 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_downscale_amount() 4401 dst_w = drm_rect_width(&plane_state->uapi.dst); in skl_plane_downscale_amount() 4687 width = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_relative_data_rate() 5233 width = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_compute_plane_wm_params()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 948 src_w = drm_rect_width(src); in mdp5_plane_mode_set() 953 crtc_w = drm_rect_width(dest); in mdp5_plane_mode_set()
|