Lines Matching refs:update
54 * struct vmw_stdu_dirty - closure structure for the update functions
261 struct vmw_stdu_update *update = cmd;
263 update->header.id = SVGA_3D_CMD_UPDATE_GB_SCREENTARGET;
264 update->header.size = sizeof(update->body);
266 update->body.stid = unit;
267 update->body.rect.x = left;
268 update->body.rect.y = top;
269 update->body.rect.w = right - left;
270 update->body.rect.h = bottom - top;
274 * vmw_stdu_update_st - Full update of a Screen Target
487 * a screen target update command, depending on transfer direction.
784 * target update command.
793 struct vmw_stdu_update *update;
809 update = (struct vmw_stdu_update *) &blit[dirty->num_hits];
810 commit_size = sizeof(*cmd) + blit_size + sizeof(*update);
813 update = dirty->cmd;
814 commit_size = sizeof(*update);
817 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left,
1172 static uint32_t vmw_stdu_bo_fifo_size(struct vmw_du_update_plane *update,
1180 static uint32_t vmw_stdu_bo_fifo_size_cpu(struct vmw_du_update_plane *update,
1187 static uint32_t vmw_stdu_bo_populate_dma(struct vmw_du_update_plane *update,
1194 stdu = container_of(update->du, typeof(*stdu), base);
1195 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1202 cmd_dma->body.guest.pitch = update->vfb->base.pitches[0];
1211 static uint32_t vmw_stdu_bo_populate_clip(struct vmw_du_update_plane *update,
1230 static uint32_t vmw_stdu_bo_populate_update(struct vmw_du_update_plane *update,
1237 stdu = container_of(update->du, typeof(*stdu), base);
1238 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1249 static uint32_t vmw_stdu_bo_pre_clip_cpu(struct vmw_du_update_plane *update,
1253 container_of(update, typeof(*bo_update), base);
1261 static uint32_t vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update,
1266 container_of(update, typeof(*bo_update), base);
1275 vmw_stdu_bo_populate_update_cpu(struct vmw_du_update_plane *update, void *cmd,
1289 bo_update = container_of(update, typeof(*bo_update), base);
1290 stdu = container_of(update->du, typeof(*stdu), base);
1291 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1303 src_pitch = update->vfb->base.pitches[0];
1389 vmw_stdu_surface_fifo_size_same_display(struct vmw_du_update_plane *update,
1395 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1405 static uint32_t vmw_stdu_surface_fifo_size(struct vmw_du_update_plane *update,
1411 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1423 vmw_stdu_surface_update_proxy(struct vmw_du_update_plane *update, void *cmd)
1426 struct drm_plane_state *state = update->plane->state;
1427 struct drm_plane_state *old_state = update->old_state;
1433 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1437 * in a surface and need an update gb image command to sync with device.
1464 vmw_stdu_surface_populate_copy(struct vmw_du_update_plane *update, void *cmd,
1471 stdu = container_of(update->du, typeof(*stdu), base);
1472 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1484 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd,
1504 vmw_stdu_surface_populate_update(struct vmw_du_update_plane *update, void *cmd,
1507 vmw_stdu_populate_update(cmd, update->du->unit, bb->x1, bb->x2, bb->y1,
1571 * Formally update stdu->display_srf to the new plane, and bind the new
1611 DRM_ERROR("Failed to update STDU.\n");
1627 DRM_ERROR("Failed to update STDU.\n");