Draft
Conversation
The memory unit is bytes, so this was nowhere near enough, now it's set to 4GiB. VIRGLRENDERER_USE_EXTERNAL_BLOB is required fo blob mapping to work properly. Signed-off-by: Matej Hrica <mhrica@redhat.com>
…retrieval This patch enhances the `create_3d` method for VirglRenderer to fall back to virgl_renderer_resource_get_info_ext and virgl_renderer_get_fd_for_texture when export_blob and query both fail to return a DMABUF handle or 3D info. This ensures that resources created via create_3d still obtain valid handle and metadata when the primary export path is unavailable. This enables the downstream users(e.g vhost-device-gpu) to access the 3D info after `resource_create_3d()` and forward it correctly to the VHOST scanout handlers(e.g. via VHOST_USER_GPU_DMABUF_SCANOUT2). Cherry-picked from magma-gpu/rutabaga_gfx repository: magma-gpu/rutabaga_gfx@a84179a Original author: Dorinda Bassey <dbassey@redhat.com> Co-Authored-By: Dorinda Bassey <dbassey@redhat.com> Signed-off-by: Matej Hrica <mhrica@redhat.com>
Instead of hardcoding the log level specify it via an env variable Signed-off-by: Matej Hrica <mhrica@redhat.com>
Introduce a dmabuf display consumer feature into the header, and handle the new extended vtable internally. Signed-off-by: Matej Hrica <mhrica@redhat.com>
Add support for a zero-copy dmabuf scanout of resources. If the dmabuf scanout is not supported we still fallback to the basic_framebuffer feature (CPU copy). Signed-off-by: Matej Hrica <mhrica@redhat.com>
Signed-off-by: Matej Hrica <mhrica@redhat.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.