Skip to content
Commit 1ed5f698 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

drm/virtio: resource teardown tweaks



Add new virtio_gpu_cleanup_object() helper function for object cleanup.
Wire up callback function for resource unref, do cleanup from callback
when we know the host stopped using the resource.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200207074638.26386-3-kraxel@redhat.com


Reviewed-by: default avatarChia-I Wu <olvaffe@gmail.com>
parent 8235eab0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment