commit | 1ed5f698adad450b314a36aa48ff9593bdfcd968 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Feb 07 08:46:36 2020 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Feb 10 12:54:33 2020 +0100 |
tree | e47715d779669dcced12f21d5c4918e11edb269f | |
parent | 8235eab0122a051b05e3dac128a64b66c0273dac [diff] |
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: Gerd Hoffmann <kraxel@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20200207074638.26386-3-kraxel@redhat.com Reviewed-by: Chia-I Wu <olvaffe@gmail.com>