Lines Matching refs:src_w
243 uint32_t src_w = drm_rect_width(&plane_state->base.src) >> 16; in skl_update_plane() local
270 src_w--; in skl_update_plane()
277 I915_WRITE(PLANE_SIZE(pipe, plane), (src_h << 16) | src_w); in skl_update_plane()
390 uint32_t src_w = drm_rect_width(&plane_state->base.src) >> 16; in vlv_update_plane() local
448 src_w--; in vlv_update_plane()
459 x += src_w; in vlv_update_plane()
529 uint32_t src_w = drm_rect_width(&plane_state->base.src) >> 16; in ivb_update_plane() local
575 src_w--; in ivb_update_plane()
580 if (crtc_w != src_w || crtc_h != src_h) in ivb_update_plane()
581 sprscale = SPRITE_SCALE_ENABLE | (src_w << 16) | src_h; in ivb_update_plane()
591 x += src_w; in ivb_update_plane()
667 uint32_t src_w = drm_rect_width(&plane_state->base.src) >> 16; in ilk_update_plane() local
708 src_w--; in ilk_update_plane()
714 if (crtc_w != src_w || crtc_h != src_h) in ilk_update_plane()
715 dvsscale = DVS_SCALE_ENABLE | (src_w << 16) | src_h; in ilk_update_plane()
723 x += src_w; in ilk_update_plane()
784 uint32_t src_x, src_y, src_w, src_h; in intel_check_sprite_plane() local
795 src->x2 = state->base.src_x + state->base.src_w; in intel_check_sprite_plane()
890 src->x2 > (int) state->base.src_x + state->base.src_w || in intel_check_sprite_plane()
900 src_w = drm_rect_width(src) >> 16; in intel_check_sprite_plane()
906 src_w &= ~1; in intel_check_sprite_plane()
921 if (state->base.visible && (src_w != crtc_w || src_h != crtc_h)) { in intel_check_sprite_plane()
932 if (src_w < 3 || src_h < 3) in intel_check_sprite_plane()
935 width_bytes = ((src_x * cpp) & 63) + src_w * cpp; in intel_check_sprite_plane()
937 if (INTEL_INFO(dev)->gen < 9 && (src_w > 2048 || src_h > 2048 || in intel_check_sprite_plane()
946 src->x2 = (src_x + src_w) << 16; in intel_check_sprite_plane()