Skip to content
Snippets Groups Projects
Commit 28881553 authored by Tomeu Vizoso's avatar Tomeu Vizoso
Browse files

drm/virtio: Ensure a context has been created before sending the attach command


Currently, a context is ensured when new buffers are created, but not
when a buffer gets imported into this context.

Move the call to virtio_gpu_create_context() into
virtio_gpu_gem_object_open() so it applies to all these situations.

Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
parent 6092b5f8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment