Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 91
    • Issues 91
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Merge requests
  • !645

Make COPY_TRANSFER3D bidirectional

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Maksym Wezdecki requested to merge mwezdeck/virglrenderer:copy_transfer_from_host into master Nov 05, 2021
  • Overview 33
  • Commits 1
  • Pipelines 28
  • Changes 5

COPY_TRANSFER3D was designed to handle transfers to host. This patch is making it possible to use this CCMD in both directions.

If guest would like to have data from host available immediately, then it should encode CCMD, flush CMD and wait on the guest side.

The data is copied from host to iovec attached to resource. In most cases resource is a staging buffer.

Mesa virgl MR: mesa/mesa!13689 (merged)

Edited Dec 01, 2021 by Maksym Wezdecki
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: copy_transfer_from_host