Lines Matching refs:src_w
552 unsigned int src_w, dst_w, pixel_rate; in ivb_sprite_min_cdclk() local
564 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_sprite_min_cdclk()
567 if (src_w != dst_w) in ivb_sprite_min_cdclk()
573 dst_w = min(src_w, dst_w); in ivb_sprite_min_cdclk()
575 return DIV_ROUND_UP_ULL(mul_u32_u32(pixel_rate, num * src_w), in ivb_sprite_min_cdclk()
785 u32 src_w = drm_rect_width(&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()
791 SPRITE_SRC_WIDTH(src_w - 1) | in ivb_sprite_update_noarm()
1112 u32 src_w = drm_rect_width(&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()
1118 DVS_SRC_WIDTH(src_w - 1) | in g4x_sprite_update_noarm()
1234 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local
1246 src_w = drm_rect_width(src) >> 16; in g4x_sprite_check_scaling()
1249 if (src_w == crtc_w && src_h == crtc_h) in g4x_sprite_check_scaling()
1264 width_bytes = ((src_x * cpp) & 63) + src_w * cpp; in g4x_sprite_check_scaling()
1266 if (src_w < min_width || src_h < min_height || in g4x_sprite_check_scaling()
1267 src_w > 2048 || src_h > 2048) { in g4x_sprite_check_scaling()
1269 src_w, src_h, min_width, min_height, 2048, 2048); in g4x_sprite_check_scaling()