-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpu: use resource_map() for mapping BOs
Use rutabaga's resource_map() to delegate mappings to virglrenderer. This allows libkrun + virglrenderer to map BOs without relying on PRIME fds, simplifying the ability to honor BO sharing semantics The feature is gated behind "virgl_resource_map2" until https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1374 gets merged. Signed-off-by: Sergio Lopez <slp@redhat.com>
- Loading branch information
Showing
2 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters