Lines Matching refs:dirty

65 	} dirty;
165 * vmw_fb_dirty_flush - flush dirty regions to the kms framebuffer
169 * This function flushes the dirty regions of the vmalloc framebuffer to the
173 * off during hibernation using the par->dirty.active bool.
190 if (!READ_ONCE(par->dirty.active))
204 spin_lock_irqsave(&par->dirty.lock, irq_flags);
205 if (!par->dirty.active) {
206 spin_unlock_irqrestore(&par->dirty.lock, irq_flags);
212 * Clip dirty area to framebuffer.
218 dst_x1 = par->dirty.x1 - par->fb_x;
219 dst_y1 = par->dirty.y1 - par->fb_y;
223 dst_x2 = par->dirty.x2 - par->fb_x;
224 dst_y2 = par->dirty.y2 - par->fb_y;
232 par->dirty.x1 = par->dirty.x2 = 0;
233 par->dirty.y1 = par->dirty.y2 = 0;
234 spin_unlock_irqrestore(&par->dirty.lock, irq_flags);
259 WARN_ON_ONCE(par->set_fb->funcs->dirty(cur_fb, NULL, 0, 0,
275 spin_lock_irqsave(&par->dirty.lock, flags);
276 if (par->dirty.x1 == par->dirty.x2) {
277 par->dirty.x1 = x1;
278 par->dirty.y1 = y1;
279 par->dirty.x2 = x2;
280 par->dirty.y2 = y2;
281 /* if we are active start the dirty work
283 if (par->dirty.active)
287 if (x1 < par->dirty.x1)
288 par->dirty.x1 = x1;
289 if (y1 < par->dirty.y1)
290 par->dirty.y1 = y1;
291 if (x2 > par->dirty.x2)
292 par->dirty.x2 = x2;
293 if (y2 > par->dirty.y2)
294 par->dirty.y2 = y2;
296 spin_unlock_irqrestore(&par->dirty.lock, flags);
343 spin_lock_irqsave(&par->dirty.lock, flags);
344 par->dirty.x1 = 0;
345 par->dirty.y1 = y1;
346 par->dirty.x2 = info->var.xres;
347 par->dirty.y2 = y2;
348 spin_unlock_irqrestore(&par->dirty.lock, flags);
611 /* If there already was stuff dirty we wont
745 par->dirty.x1 = par->dirty.x2 = 0;
746 par->dirty.y1 = par->dirty.y2 = 0;
747 par->dirty.active = true;
748 spin_lock_init(&par->dirty.lock);
811 spin_lock_irqsave(&par->dirty.lock, flags);
812 par->dirty.active = false;
813 spin_unlock_irqrestore(&par->dirty.lock, flags);
833 spin_lock_irqsave(&par->dirty.lock, flags);
834 par->dirty.active = true;
835 spin_unlock_irqrestore(&par->dirty.lock, flags);
838 * Need to reschedule a dirty update, because otherwise that's
840 * dirty region was empty.