Lines Matching full:update

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