Lines Matching refs:update
53 * struct vmw_stdu_dirty - closure structure for the update functions
262 struct vmw_stdu_update *update = cmd;
264 update->header.id = SVGA_3D_CMD_UPDATE_GB_SCREENTARGET;
265 update->header.size = sizeof(update->body);
267 update->body.stid = unit;
268 update->body.rect.x = left;
269 update->body.rect.y = top;
270 update->body.rect.w = right - left;
271 update->body.rect.h = bottom - top;
275 * vmw_stdu_update_st - Full update of a Screen Target
645 * target update command.
654 struct vmw_stdu_update *update;
670 update = (struct vmw_stdu_update *) &blit[dirty->num_hits];
671 commit_size = sizeof(*cmd) + blit_size + sizeof(*update);
674 update = dirty->cmd;
675 commit_size = sizeof(*update);
678 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left,
1027 static uint32_t vmw_stdu_bo_fifo_size_cpu(struct vmw_du_update_plane *update,
1034 static uint32_t vmw_stdu_bo_pre_clip_cpu(struct vmw_du_update_plane *update,
1038 container_of(update, typeof(*bo_update), base);
1046 static uint32_t vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update,
1051 container_of(update, typeof(*bo_update), base);
1060 vmw_stdu_bo_populate_update_cpu(struct vmw_du_update_plane *update, void *cmd,
1074 bo_update = container_of(update, typeof(*bo_update), base);
1075 stdu = container_of(update->du, typeof(*stdu), base);
1076 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1088 src_pitch = update->vfb->base.pitches[0];
1162 vmw_stdu_surface_fifo_size_same_display(struct vmw_du_update_plane *update,
1168 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1178 static uint32_t vmw_stdu_surface_fifo_size(struct vmw_du_update_plane *update,
1184 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1196 vmw_stdu_surface_update_proxy(struct vmw_du_update_plane *update, void *cmd)
1199 struct drm_plane_state *state = update->plane->state;
1200 struct drm_plane_state *old_state = update->old_state;
1206 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1210 * in a surface and need an update gb image command to sync with device.
1237 vmw_stdu_surface_populate_copy(struct vmw_du_update_plane *update, void *cmd,
1244 stdu = container_of(update->du, typeof(*stdu), base);
1245 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1257 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd,
1277 vmw_stdu_surface_populate_update(struct vmw_du_update_plane *update, void *cmd,
1280 vmw_stdu_populate_update(cmd, update->du->unit, bb->x1, bb->x2, bb->y1,
1343 * Formally update stdu->display_srf to the new plane, and bind the new
1384 DRM_ERROR("Failed to update STDU.\n");
1400 DRM_ERROR("Failed to update STDU.\n");