Lines Matching refs:crtc_w
370 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in skl_program_scaler() local
408 I915_WRITE_FW(SKL_PS_WIN_SZ(pipe, scaler_id), (crtc_w << 16) | crtc_h); in skl_program_scaler()
943 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in vlv_update_plane() local
953 crtc_w--; in vlv_update_plane()
963 I915_WRITE_FW(SPSIZE(pipe, plane_id), (crtc_h << 16) | crtc_w); in vlv_update_plane()
1159 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in ivb_update_plane() local
1173 crtc_w--; in ivb_update_plane()
1176 if (crtc_w != src_w || crtc_h != src_h) in ivb_update_plane()
1185 I915_WRITE_FW(SPRSIZE(pipe), (crtc_h << 16) | crtc_w); in ivb_update_plane()
1412 u32 crtc_w = drm_rect_width(&plane_state->base.dst); in g4x_update_plane() local
1426 crtc_w--; in g4x_update_plane()
1429 if (crtc_w != src_w || crtc_h != src_h) in g4x_update_plane()
1438 I915_WRITE_FW(DVSSIZE(pipe), (crtc_h << 16) | crtc_w); in g4x_update_plane()
1528 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local
1536 crtc_w = drm_rect_width(dst); in g4x_sprite_check_scaling()
1543 if (src_w == crtc_w && src_h == crtc_h) in g4x_sprite_check_scaling()
1763 int crtc_w = drm_rect_width(&plane_state->base.dst); in skl_plane_check_dst_coordinates() local
1776 (crtc_x + crtc_w < 4 || crtc_x > pipe_src_w - 4)) { in skl_plane_check_dst_coordinates()
1778 crtc_x + crtc_w < 4 ? "end" : "start", in skl_plane_check_dst_coordinates()
1779 crtc_x + crtc_w < 4 ? crtc_x + crtc_w : crtc_x, in skl_plane_check_dst_coordinates()