Lines Matching refs:new_fb
416 struct drm_framebuffer *new_fb; in vmw_stdu_crtc_set_config() local
431 new_fb = set->fb; in vmw_stdu_crtc_set_config()
487 if (set->num_connectors == 0 || !mode || !new_fb) in vmw_stdu_crtc_set_config()
491 if (set->x + mode->hdisplay > new_fb->width || in vmw_stdu_crtc_set_config()
492 set->y + mode->vdisplay > new_fb->height) { in vmw_stdu_crtc_set_config()
497 stdu->content_fb = new_fb; in vmw_stdu_crtc_set_config()
508 if (mode->hdisplay != new_fb->width || in vmw_stdu_crtc_set_config()
509 mode->vdisplay != new_fb->height || in vmw_stdu_crtc_set_config()
526 switch (new_fb->bits_per_pixel) { in vmw_stdu_crtc_set_config()
552 new_vfbs = vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_crtc_set_config()
574 new_vfbs = vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_crtc_set_config()
608 crtc->primary->fb = new_fb; in vmw_stdu_crtc_set_config()
644 struct drm_framebuffer *new_fb, in vmw_stdu_crtc_page_flip() argument
658 crtc->primary->fb = new_fb; in vmw_stdu_crtc_page_flip()
659 stdu->content_fb = new_fb; in vmw_stdu_crtc_page_flip()
679 if (!new_fb) { in vmw_stdu_crtc_page_flip()
688 stdu->display_srf = vmw_framebuffer_to_vfbs(new_fb)->surface; in vmw_stdu_crtc_page_flip()