Home
last modified time | relevance | path

Searched refs:sdirty (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c834 struct vmw_kms_sou_surface_dirty *sdirty = in vmw_sou_surface_fifo_commit() local
835 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_fifo_commit()
837 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit()
838 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit()
855 cmd->body.destRect.left = sdirty->left; in vmw_sou_surface_fifo_commit()
856 cmd->body.destRect.right = sdirty->right; in vmw_sou_surface_fifo_commit()
857 cmd->body.destRect.top = sdirty->top; in vmw_sou_surface_fifo_commit()
858 cmd->body.destRect.bottom = sdirty->bottom; in vmw_sou_surface_fifo_commit()
860 cmd->body.srcRect.left = sdirty->left + trans_x; in vmw_sou_surface_fifo_commit()
861 cmd->body.srcRect.right = sdirty->right + trans_x; in vmw_sou_surface_fifo_commit()
[all …]
Dvmwgfx_stdu.c815 struct vmw_stdu_dirty *sdirty = in vmw_kms_stdu_surface_clip() local
821 if (sdirty->sid != stdu->display_srf->res.id) { in vmw_kms_stdu_surface_clip()
837 sdirty->left = min_t(s32, sdirty->left, dirty->unit_x1); in vmw_kms_stdu_surface_clip()
838 sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); in vmw_kms_stdu_surface_clip()
839 sdirty->right = max_t(s32, sdirty->right, dirty->unit_x2); in vmw_kms_stdu_surface_clip()
840 sdirty->bottom = max_t(s32, sdirty->bottom, dirty->unit_y2); in vmw_kms_stdu_surface_clip()
854 struct vmw_stdu_dirty *sdirty = in vmw_kms_stdu_surface_fifo_commit() local
868 if (sdirty->sid != stdu->display_srf->res.id) { in vmw_kms_stdu_surface_fifo_commit()
873 cmd->body.src.sid = sdirty->sid; in vmw_kms_stdu_surface_fifo_commit()
882 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left, in vmw_kms_stdu_surface_fifo_commit()
[all …]