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()
213 cpp = cur_fb->format->cpp[0]; in vmw_fb_dirty_flush()
214 max_x = par->fb_x + cur_fb->width; in vmw_fb_dirty_flush()
215 max_y = par->fb_y + cur_fb->height; in vmw_fb_dirty_flush()
257 WARN_ON_ONCE(par->set_fb->funcs->dirty(cur_fb, NULL, 0, 0, in vmw_fb_dirty_flush()
457 struct drm_framebuffer *cur_fb = par->set_fb; in vmw_fb_kms_detach() local
480 if (cur_fb) { in vmw_fb_kms_detach()
481 drm_framebuffer_put(cur_fb); in vmw_fb_kms_detach()
496 struct drm_framebuffer *cur_fb; in vmw_fb_kms_framebuffer() local
511 cur_fb = par->set_fb; in vmw_fb_kms_framebuffer()
512 if (cur_fb && cur_fb->width == mode_cmd.width && in vmw_fb_kms_framebuffer()
513 cur_fb->height == mode_cmd.height && in vmw_fb_kms_framebuffer()
514 cur_fb->format->format == mode_cmd.pixel_format && in vmw_fb_kms_framebuffer()
515 cur_fb->pitches[0] == mode_cmd.pitches[0]) in vmw_fb_kms_framebuffer()