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()
1184 static uint32_t vmw_stdu_bo_fifo_size(struct vmw_du_update_plane *update, in vmw_stdu_bo_fifo_size() argument
1192 static uint32_t vmw_stdu_bo_fifo_size_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_fifo_size_cpu() argument
1199 static uint32_t vmw_stdu_bo_populate_dma(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_dma() argument
1206 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_dma()
1207 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_dma()
1214 cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_dma()
1223 static uint32_t vmw_stdu_bo_populate_clip(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_clip() argument
1242 static uint32_t vmw_stdu_bo_populate_update(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_update() argument
1249 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_update()
1250 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_update()
1261 static uint32_t vmw_stdu_bo_pre_clip_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_pre_clip_cpu() argument
1265 container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_pre_clip_cpu()
1273 static uint32_t vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_clip_cpu() argument
1278 container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_clip_cpu()
1287 vmw_stdu_bo_populate_update_cpu(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_bo_populate_update_cpu() argument
1301 bo_update = container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_populate_update_cpu()
1302 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_update_cpu()
1303 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_update_cpu()
1315 src_pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_update_cpu()
1351 * vmw_stdu_plane_update_bo - Update display unit for bo backed fb.
1401 vmw_stdu_surface_fifo_size_same_display(struct vmw_du_update_plane *update, in vmw_stdu_surface_fifo_size_same_display() argument
1407 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_fifo_size_same_display()
1417 static uint32_t vmw_stdu_surface_fifo_size(struct vmw_du_update_plane *update, in vmw_stdu_surface_fifo_size() argument
1423 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_fifo_size()
1435 vmw_stdu_surface_update_proxy(struct vmw_du_update_plane *update, void *cmd) in vmw_stdu_surface_update_proxy() argument
1438 struct drm_plane_state *state = update->plane->state; in vmw_stdu_surface_update_proxy()
1439 struct drm_plane_state *old_state = update->old_state; in vmw_stdu_surface_update_proxy()
1445 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_update_proxy()
1449 * in a surface and need an update gb image command to sync with device. in vmw_stdu_surface_update_proxy()
1476 vmw_stdu_surface_populate_copy(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_copy() argument
1483 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_surface_populate_copy()
1484 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_populate_copy()
1496 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_clip() argument
1516 vmw_stdu_surface_populate_update(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_update() argument
1519 vmw_stdu_populate_update(cmd, update->du->unit, bb->x1, bb->x2, bb->y1, in vmw_stdu_surface_populate_update()
1526 * vmw_stdu_plane_update_surface - Update display unit for surface backed fb
1583 * Formally update stdu->display_srf to the new plane, and bind the new
1623 DRM_ERROR("Failed to update STDU.\n"); in vmw_stdu_primary_plane_atomic_update()
1639 DRM_ERROR("Failed to update STDU.\n"); in vmw_stdu_primary_plane_atomic_update()