• Home
  • Raw
  • Download

Lines Matching refs:dirty

67 	} dirty;  member
190 spin_lock_irqsave(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush()
191 if (!par->dirty.active) { in vmw_fb_dirty_flush()
192 spin_unlock_irqrestore(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush()
204 dst_x1 = par->dirty.x1 - par->fb_x; in vmw_fb_dirty_flush()
205 dst_y1 = par->dirty.y1 - par->fb_y; in vmw_fb_dirty_flush()
209 dst_x2 = par->dirty.x2 - par->fb_x; in vmw_fb_dirty_flush()
210 dst_y2 = par->dirty.y2 - par->fb_y; in vmw_fb_dirty_flush()
218 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_dirty_flush()
219 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush()
220 spin_unlock_irqrestore(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush()
240 WARN_ON_ONCE(par->set_fb->funcs->dirty(cur_fb, NULL, 0, 0, in vmw_fb_dirty_flush()
256 spin_lock_irqsave(&par->dirty.lock, flags); in vmw_fb_dirty_mark()
257 if (par->dirty.x1 == par->dirty.x2) { in vmw_fb_dirty_mark()
258 par->dirty.x1 = x1; in vmw_fb_dirty_mark()
259 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
260 par->dirty.x2 = x2; in vmw_fb_dirty_mark()
261 par->dirty.y2 = y2; in vmw_fb_dirty_mark()
264 if (par->dirty.active) in vmw_fb_dirty_mark()
268 if (x1 < par->dirty.x1) in vmw_fb_dirty_mark()
269 par->dirty.x1 = x1; in vmw_fb_dirty_mark()
270 if (y1 < par->dirty.y1) in vmw_fb_dirty_mark()
271 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
272 if (x2 > par->dirty.x2) in vmw_fb_dirty_mark()
273 par->dirty.x2 = x2; in vmw_fb_dirty_mark()
274 if (y2 > par->dirty.y2) in vmw_fb_dirty_mark()
275 par->dirty.y2 = y2; in vmw_fb_dirty_mark()
277 spin_unlock_irqrestore(&par->dirty.lock, flags); in vmw_fb_dirty_mark()
324 spin_lock_irqsave(&par->dirty.lock, flags); in vmw_deferred_io()
325 par->dirty.x1 = 0; in vmw_deferred_io()
326 par->dirty.y1 = y1; in vmw_deferred_io()
327 par->dirty.x2 = info->var.xres; in vmw_deferred_io()
328 par->dirty.y2 = y2; in vmw_deferred_io()
329 spin_unlock_irqrestore(&par->dirty.lock, flags); in vmw_deferred_io()
746 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_init()
747 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_init()
748 par->dirty.active = true; in vmw_fb_init()
749 spin_lock_init(&par->dirty.lock); in vmw_fb_init()
810 spin_lock_irqsave(&par->dirty.lock, flags); in vmw_fb_off()
811 par->dirty.active = false; in vmw_fb_off()
812 spin_unlock_irqrestore(&par->dirty.lock, flags); in vmw_fb_off()
839 spin_lock_irqsave(&par->dirty.lock, flags); in vmw_fb_on()
840 par->dirty.active = true; in vmw_fb_on()
841 spin_unlock_irqrestore(&par->dirty.lock, flags); in vmw_fb_on()