Lines Matching refs:pipe_src_w
330 int pipe_src_w = drm_rect_width(&crtc_state->pipe_src); in pch_panel_fitting() local
335 if (adjusted_mode->crtc_hdisplay == pipe_src_w && in pch_panel_fitting()
342 width = pipe_src_w; in pch_panel_fitting()
352 u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay; in pch_panel_fitting()
361 height = scaled_width / pipe_src_w; in pch_panel_fitting()
376 WARN_ON(adjusted_mode->crtc_hdisplay != pipe_src_w); in pch_panel_fitting()
458 int pipe_src_w = drm_rect_width(&crtc_state->pipe_src); in i965_scale_aspect() local
461 u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay; in i965_scale_aspect()
470 else if (adjusted_mode->crtc_hdisplay != pipe_src_w) in i965_scale_aspect()
479 int pipe_src_w = drm_rect_width(&crtc_state->pipe_src); in i9xx_scale_aspect() local
482 u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay; in i9xx_scale_aspect()
507 scaled_width / pipe_src_w); in i9xx_scale_aspect()
510 if (pipe_src_w != adjusted_mode->crtc_hdisplay) { in i9xx_scale_aspect()
511 bits = panel_fitter_scaling(pipe_src_w, in i9xx_scale_aspect()
536 int pipe_src_w = drm_rect_width(&crtc_state->pipe_src); in gmch_panel_fitting() local
540 if (adjusted_mode->crtc_hdisplay == pipe_src_w && in gmch_panel_fitting()
550 centre_horizontally(adjusted_mode, pipe_src_w); in gmch_panel_fitting()
568 pipe_src_w != adjusted_mode->crtc_hdisplay) { in gmch_panel_fitting()