Lines Matching refs:dirty
887 .dirty = drm_atomic_helper_dirtyfb,
1036 WARN_ONCE(true, "Dirty called with invalid display system.\n");
1066 .dirty = vmw_framebuffer_bo_dirty_ext,
2441 * @dirty: Closure structure. See the description of struct vmw_kms_dirty.
2450 struct vmw_kms_dirty *dirty)
2457 dirty->dev_priv = dev_priv;
2460 if (dirty->crtc) {
2461 units[num_units++] = vmw_crtc_to_du(dirty->crtc);
2481 dirty->unit = unit;
2482 if (dirty->fifo_reserve_size > 0) {
2483 dirty->cmd = VMW_FIFO_RESERVE(dev_priv,
2484 dirty->fifo_reserve_size);
2485 if (!dirty->cmd)
2488 memset(dirty->cmd, 0, dirty->fifo_reserve_size);
2490 dirty->num_hits = 0;
2502 dirty->fb_x = (s32) clips_ptr->x1;
2503 dirty->fb_y = (s32) clips_ptr->y1;
2504 dirty->unit_x2 = (s32) clips_ptr->x2 + dest_x -
2506 dirty->unit_y2 = (s32) clips_ptr->y2 + dest_y -
2509 dirty->fb_x = vclips_ptr->x;
2510 dirty->fb_y = vclips_ptr->y;
2511 dirty->unit_x2 = dirty->fb_x + vclips_ptr->w +
2513 dirty->unit_y2 = dirty->fb_y + vclips_ptr->h +
2517 dirty->unit_x1 = dirty->fb_x + dest_x - crtc_x;
2518 dirty->unit_y1 = dirty->fb_y + dest_y - crtc_y;
2521 if (dirty->unit_x1 >= crtc_width ||
2522 dirty->unit_y1 >= crtc_height ||
2523 dirty->unit_x2 <= 0 || dirty->unit_y2 <= 0)
2527 dirty->unit_x2 = min_t(s32, dirty->unit_x2,
2529 dirty->unit_y2 = min_t(s32, dirty->unit_y2,
2533 clip_left = min_t(s32, dirty->unit_x1, 0);
2534 clip_top = min_t(s32, dirty->unit_y1, 0);
2535 dirty->unit_x1 -= clip_left;
2536 dirty->unit_y1 -= clip_top;
2537 dirty->fb_x -= clip_left;
2538 dirty->fb_y -= clip_top;
2540 dirty->clip(dirty);
2543 dirty->fifo_commit(dirty);