Lines Matching refs:cur_fb
185 struct drm_framebuffer *cur_fb; in vmw_fb_dirty_flush() local
194 cur_fb = par->set_fb; in vmw_fb_dirty_flush()
195 if (!cur_fb) in vmw_fb_dirty_flush()
214 cpp = cur_fb->format->cpp[0]; in vmw_fb_dirty_flush()
215 max_x = par->fb_x + cur_fb->width; in vmw_fb_dirty_flush()
216 max_y = par->fb_y + cur_fb->height; in vmw_fb_dirty_flush()
259 WARN_ON_ONCE(par->set_fb->funcs->dirty(cur_fb, NULL, 0, 0, in vmw_fb_dirty_flush()
465 struct drm_framebuffer *cur_fb = par->set_fb; in vmw_fb_kms_detach() local
488 if (cur_fb) { in vmw_fb_kms_detach()
489 drm_framebuffer_put(cur_fb); in vmw_fb_kms_detach()
504 struct drm_framebuffer *cur_fb; in vmw_fb_kms_framebuffer() local
519 cur_fb = par->set_fb; in vmw_fb_kms_framebuffer()
520 if (cur_fb && cur_fb->width == mode_cmd.width && in vmw_fb_kms_framebuffer()
521 cur_fb->height == mode_cmd.height && in vmw_fb_kms_framebuffer()
522 cur_fb->format->format == mode_cmd.pixel_format && in vmw_fb_kms_framebuffer()
523 cur_fb->pitches[0] == mode_cmd.pitches[0]) in vmw_fb_kms_framebuffer()