Lines Matching refs:update
59 * struct vmw_stdu_dirty - closure structure for the update functions
266 struct vmw_stdu_update *update = cmd;
268 update->header.id = SVGA_3D_CMD_UPDATE_GB_SCREENTARGET;
269 update->header.size = sizeof(update->body);
271 update->body.stid = unit;
272 update->body.rect.x = left;
273 update->body.rect.y = top;
274 update->body.rect.w = right - left;
275 update->body.rect.h = bottom - top;
279 * vmw_stdu_update_st - Full update of a Screen Target
492 * a screen target update command, depending on transfer direction.
789 * target update command.
798 struct vmw_stdu_update *update;
814 update = (struct vmw_stdu_update *) &blit[dirty->num_hits];
815 commit_size = sizeof(*cmd) + blit_size + sizeof(*update);
818 update = dirty->cmd;
819 commit_size = sizeof(*update);
822 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left,
1189 static uint32_t vmw_stdu_bo_fifo_size(struct vmw_du_update_plane *update,
1197 static uint32_t vmw_stdu_bo_fifo_size_cpu(struct vmw_du_update_plane *update,
1204 static uint32_t vmw_stdu_bo_populate_dma(struct vmw_du_update_plane *update,
1211 stdu = container_of(update->du, typeof(*stdu), base);
1212 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1219 cmd_dma->body.guest.pitch = update->vfb->base.pitches[0];
1228 static uint32_t vmw_stdu_bo_populate_clip(struct vmw_du_update_plane *update,
1247 static uint32_t vmw_stdu_bo_populate_update(struct vmw_du_update_plane *update,
1254 stdu = container_of(update->du, typeof(*stdu), base);
1255 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1266 static uint32_t vmw_stdu_bo_pre_clip_cpu(struct vmw_du_update_plane *update,
1270 container_of(update, typeof(*bo_update), base);
1278 static uint32_t vmw_stdu_bo_clip_cpu(struct vmw_du_update_plane *update,
1283 container_of(update, typeof(*bo_update), base);
1292 vmw_stdu_bo_populate_update_cpu(struct vmw_du_update_plane *update, void *cmd,
1306 bo_update = container_of(update, typeof(*bo_update), base);
1307 stdu = container_of(update->du, typeof(*stdu), base);
1308 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1320 src_pitch = update->vfb->base.pitches[0];
1356 * vmw_stdu_plane_update_bo - Update display unit for bo backed fb.
1406 vmw_stdu_surface_fifo_size_same_display(struct vmw_du_update_plane *update,
1412 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1422 static uint32_t vmw_stdu_surface_fifo_size(struct vmw_du_update_plane *update,
1428 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1440 vmw_stdu_surface_update_proxy(struct vmw_du_update_plane *update, void *cmd)
1443 struct drm_plane_state *state = update->plane->state;
1444 struct drm_plane_state *old_state = update->old_state;
1450 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1454 * in a surface and need an update gb image command to sync with device.
1481 vmw_stdu_surface_populate_copy(struct vmw_du_update_plane *update, void *cmd,
1488 stdu = container_of(update->du, typeof(*stdu), base);
1489 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1501 vmw_stdu_surface_populate_clip(struct vmw_du_update_plane *update, void *cmd,
1521 vmw_stdu_surface_populate_update(struct vmw_du_update_plane *update, void *cmd,
1524 vmw_stdu_populate_update(cmd, update->du->unit, bb->x1, bb->x2, bb->y1,
1531 * vmw_stdu_plane_update_surface - Update display unit for surface backed fb
1588 * Formally update stdu->display_srf to the new plane, and bind the new
1628 DRM_ERROR("Failed to update STDU.\n");
1644 DRM_ERROR("Failed to update STDU.\n");