/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.h | 380 static inline uint16_t scl_get_bili_dn_vskip(int src_h, int dst_h, in scl_get_bili_dn_vskip() argument 385 act_height = DIV_ROUND_UP(src_h, vskiplines); in scl_get_bili_dn_vskip() 388 return GET_SCL_FT_BILI_DN(src_h, dst_h) / vskiplines; in scl_get_bili_dn_vskip()
|
H A D | rockchip_drm_vop2.c | 606 u32 src_w, u32 src_h, u32 dst_w, in vop2_setup_scale() 618 if (src_h >= (4 * dst_h)) { in vop2_setup_scale() 620 src_h >>= 2; in vop2_setup_scale() 621 } else if (src_h >= (2 * dst_h)) { in vop2_setup_scale() 623 src_h >>= 1; in vop2_setup_scale() 627 ver_scl_mode = scl_get_scl_mode(src_h, dst_h); in vop2_setup_scale() 653 val = vop2_scale_factor(src_h, dst_h); in vop2_setup_scale() 670 src_h /= info->vsub; in vop2_setup_scale() 675 if (src_h >= (4 * dst_h)) { in vop2_setup_scale() 677 src_h >> in vop2_setup_scale() 605 vop2_setup_scale(struct vop2 *vop2, const struct vop2_win *win, u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, u32 pixel_format) vop2_setup_scale() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_plane_helper_test.c | 71 mock->src_h = params->src.h; in drm_plane_helper_init() 84 unsigned int src_w, unsigned int src_h) in check_src_eq() 86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq() 82 check_src_eq(struct kunit *test, struct drm_plane_state *plane_state, unsigned int src_x, unsigned int src_y, unsigned int src_w, unsigned int src_h) check_src_eq() argument
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 556 int src_w, int src_h) in fallback_copy_image() 573 unsigned dst_h = src_h; in fallback_copy_image() 574 unsigned lines = src_h; in fallback_copy_image() 608 src_x, src_y, src_w, src_h, in fallback_copy_image() 613 src_x, src_y, src_w, src_h, in fallback_copy_image() 549 fallback_copy_image(struct st_context *st, struct gl_texture_image *dst_image, struct pipe_resource *dst_res, int dst_x, int dst_y, int dst_z, struct gl_texture_image *src_image, struct pipe_resource *src_res, int src_x, int src_y, int src_z, int src_w, int src_h) fallback_copy_image() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic_plane.c | 139 unsigned int src_w, src_h, dst_w, dst_h; in intel_plane_pixel_rate() local 143 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_pixel_rate() 149 dst_h = min(src_h, dst_h); in intel_plane_pixel_rate() 151 return DIV_ROUND_UP_ULL(mul_u32_u32(pixel_rate, src_w * src_h), in intel_plane_pixel_rate()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite.c | 786 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_sprite_update_noarm() local 789 if (crtc_w != src_w || crtc_h != src_h) in ivb_sprite_update_noarm() 792 SPRITE_SRC_HEIGHT(src_h - 1); in ivb_sprite_update_noarm() 1113 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_sprite_update_noarm() local 1116 if (crtc_w != src_w || crtc_h != src_h) in g4x_sprite_update_noarm() 1119 DVS_SRC_HEIGHT(src_h - 1); in g4x_sprite_update_noarm() 1234 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local 1247 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling() 1249 if (src_w == crtc_w && src_h == crtc_h) in g4x_sprite_check_scaling() 1255 if (src_h in g4x_sprite_check_scaling() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 277 state->src_h != oldstate->src_h || in osd_changed() 355 ((state->src_h >> 16) << JZ_IPU_IN_GS_H_LSB)); in ingenic_ipu_plane_atomic_update() 511 state->src_w >> 16, state->src_h >> 16, in ingenic_ipu_plane_atomic_update() 546 if ((state->src_w >> 16) < 4 || (state->src_h >> 16) < 4) in ingenic_ipu_plane_atomic_check() 559 yres = state->src_h >> 16; in ingenic_ipu_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 316 state->src_h != oldstate->src_h || in osd_changed() 405 ((newstate->src_h >> 16) << JZ_IPU_IN_GS_H_LSB)); in ingenic_ipu_plane_atomic_update() 561 newstate->src_w >> 16, newstate->src_h >> 16, in ingenic_ipu_plane_atomic_update() 606 if ((new_plane_state->src_w >> 16) < 4 || (new_plane_state->src_h >> 16) < 4) in ingenic_ipu_plane_atomic_check() 619 yres = new_plane_state->src_h >> 16; in ingenic_ipu_plane_atomic_check()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.h | 42 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_plane_helper.h | 40 uint32_t src_w, uint32_t src_h,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.h | 42 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 760 u32 src_w, src_h; in ltdc_plane_atomic_check() local 769 src_h = state->src_h >> 16; in ltdc_plane_atomic_check() 772 if (src_w != state->crtc_w || src_h != state->crtc_h) { in ltdc_plane_atomic_check() 791 u32 src_x, src_y, src_w, src_h; in ltdc_plane_atomic_update() local 804 src_h = state->src_h >> 16; in ltdc_plane_atomic_update() 808 src_w, src_h, src_x, src_y, in ltdc_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun8i_ui_scaler.c | 149 u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, in sun8i_ui_scaler_setup() 166 insize = SUN8I_UI_SCALER_SIZE(src_w, src_h); in sun8i_ui_scaler_setup() 148 sun8i_ui_scaler_setup(struct sun8i_mixer *mixer, int layer, u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, u32 hscale, u32 vscale, u32 hphase, u32 vphase) sun8i_ui_scaler_setup() argument
|
H A D | sun8i_ui_scaler.h | 40 u32 src_w, u32 src_h, u32 dst_w, u32 dst_h,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun8i_ui_scaler.c | 149 u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, in sun8i_ui_scaler_setup() 166 insize = SUN8I_UI_SCALER_SIZE(src_w, src_h); in sun8i_ui_scaler_setup() 148 sun8i_ui_scaler_setup(struct sun8i_mixer *mixer, int layer, u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, u32 hscale, u32 vscale, u32 hphase, u32 vphase) sun8i_ui_scaler_setup() argument
|
H A D | sun8i_ui_scaler.h | 40 u32 src_w, u32 src_h, u32 dst_w, u32 dst_h,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
H A D | ipuv3-plane.h | 42 uint32_t src_h, bool interlaced);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-plane.h | 42 uint32_t src_h, bool interlaced);
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_context.h | 57 int src_h,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 704 u32 src_h = 1, dst_h = 1; in amdgpu_display_crtc_scaling_mode_fixup() local 729 src_h = crtc->mode.hdisplay; in amdgpu_display_crtc_scaling_mode_fixup() 749 src_h = crtc->mode.hdisplay; in amdgpu_display_crtc_scaling_mode_fixup() 758 a.full = dfixed_const(src_h); in amdgpu_display_crtc_scaling_mode_fixup()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 205 plane->state->src_h != new_state->src_h || in lsdc_cursor_plane_atomic_async_check() 239 plane->state->src_h = new_state->src_h; in lsdc_cursor_plane_atomic_async_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_atomic.c | 614 new_plane_state->src_h > fb_height || in drm_atomic_plane_check() 615 new_plane_state->src_y > fb_height - new_plane_state->src_h) { in drm_atomic_plane_check() 621 new_plane_state->src_h >> 16, in drm_atomic_plane_check() 622 ((new_plane_state->src_h & 0xffff) * 15625) >> 10, in drm_atomic_plane_check() 1406 plane_state->src_h = 0; in __drm_atomic_helper_disable_plane() 1541 primary_state->src_h = hdisplay << 16; in __drm_atomic_helper_set_config() 1544 primary_state->src_h = vdisplay << 16; in __drm_atomic_helper_set_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 746 u32 src_w, src_h, dst_w, dst_h; in fimc_set_prescaler() local 751 src_h = src->w; in fimc_set_prescaler() 754 src_h = src->h; in fimc_set_prescaler() 772 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler() 779 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler() 786 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 788 sc->up_v = (dst_h >= src_h) ? true : false; in fimc_set_prescaler()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_atomic.c | 667 new_plane_state->src_h > fb_height || in drm_atomic_plane_check() 668 new_plane_state->src_y > fb_height - new_plane_state->src_h) { in drm_atomic_plane_check() 675 new_plane_state->src_h >> 16, in drm_atomic_plane_check() 676 ((new_plane_state->src_h & 0xffff) * 15625) >> 10, in drm_atomic_plane_check() 1564 plane_state->src_h = 0; in __drm_atomic_helper_disable_plane() 1699 primary_state->src_h = hdisplay << 16; in __drm_atomic_helper_set_config() 1702 primary_state->src_h = vdisplay << 16; in __drm_atomic_helper_set_config()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 744 u32 src_w, src_h, dst_w, dst_h; in fimc_set_prescaler() local 749 src_h = src->w; in fimc_set_prescaler() 752 src_h = src->h; in fimc_set_prescaler() 770 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler() 777 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler() 784 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 786 sc->up_v = (dst_h >= src_h); in fimc_set_prescaler()
|