Lines Matching refs:update
268 struct vmw_stdu_update *update = cmd; in vmw_stdu_populate_update() local
270 update->header.id = SVGA_3D_CMD_UPDATE_GB_SCREENTARGET; in vmw_stdu_populate_update()
271 update->header.size = sizeof(update->body); in vmw_stdu_populate_update()
273 update->body.stid = unit; in vmw_stdu_populate_update()
274 update->body.rect.x = left; in vmw_stdu_populate_update()
275 update->body.rect.y = top; in vmw_stdu_populate_update()
276 update->body.rect.w = right - left; in vmw_stdu_populate_update()
277 update->body.rect.h = bottom - top; in vmw_stdu_populate_update()
801 struct vmw_stdu_update *update; in vmw_kms_stdu_surface_fifo_commit() local
817 update = (struct vmw_stdu_update *) &blit[dirty->num_hits]; in vmw_kms_stdu_surface_fifo_commit()
818 commit_size = sizeof(*cmd) + blit_size + sizeof(*update); in vmw_kms_stdu_surface_fifo_commit()
821 update = dirty->cmd; in vmw_kms_stdu_surface_fifo_commit()
822 commit_size = sizeof(*update); in vmw_kms_stdu_surface_fifo_commit()
825 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left, in vmw_kms_stdu_surface_fifo_commit()
1177 static uint32_t vmw_stdu_bo_fifo_size(struct vmw_du_update_plane *update, in vmw_stdu_bo_fifo_size() argument
1185 static uint32_t vmw_stdu_bo_fifo_size_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_fifo_size_cpu() argument
1192 static uint32_t vmw_stdu_bo_populate_dma(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_dma() argument
1199 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_dma()
1200 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_dma()
1207 cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_dma()
1216 static uint32_t vmw_stdu_bo_populate_clip(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_clip() argument
1235 static uint32_t vmw_stdu_bo_populate_update(struct vmw_du_update_plane *update, in vmw_stdu_bo_populate_update() argument
1242 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_update()
1243 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_update()
1254 static uint32_t vmw_stdu_bo_pre_clip_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_pre_clip_cpu() argument
1258 container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_pre_clip_cpu()
1266 static uint32_t vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update, in vmw_stdu_bo_clip_cpu() argument
1271 container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_clip_cpu()
1280 vmw_stdu_bo_populate_update_cpu(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_bo_populate_update_cpu() argument
1294 bo_update = container_of(update, typeof(*bo_update), base); in vmw_stdu_bo_populate_update_cpu()
1295 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_bo_populate_update_cpu()
1296 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_update_cpu()
1308 src_pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_update_cpu()
1394 vmw_stdu_surface_fifo_size_same_display(struct vmw_du_update_plane *update, in vmw_stdu_surface_fifo_size_same_display() argument
1400 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_fifo_size_same_display()
1410 static uint32_t vmw_stdu_surface_fifo_size(struct vmw_du_update_plane *update, in vmw_stdu_surface_fifo_size() argument
1416 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_fifo_size()
1428 vmw_stdu_surface_update_proxy(struct vmw_du_update_plane *update, void *cmd) in vmw_stdu_surface_update_proxy() argument
1431 struct drm_plane_state *state = update->plane->state; in vmw_stdu_surface_update_proxy()
1432 struct drm_plane_state *old_state = update->old_state; in vmw_stdu_surface_update_proxy()
1438 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_update_proxy()
1469 vmw_stdu_surface_populate_copy(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_copy() argument
1476 stdu = container_of(update->du, typeof(*stdu), base); in vmw_stdu_surface_populate_copy()
1477 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_stdu_surface_populate_copy()
1489 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_clip() argument
1509 vmw_stdu_surface_populate_update(struct vmw_du_update_plane *update, void *cmd, in vmw_stdu_surface_populate_update() argument
1512 vmw_stdu_populate_update(cmd, update->du->unit, bb->x1, bb->x2, bb->y1, in vmw_stdu_surface_populate_update()