commit | 45c5d2a4f39ce15fabd8e0485854b3448f1ef3b8 | [log] [tgz] |
---|---|---|
author | Gurchetan Singh <gurchetansingh@chromium.org> | Wed Apr 08 16:29:38 2020 -0700 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Apr 28 11:22:23 2020 +0200 |
tree | 0384971a53b8be4be7859b04bd21a92d6cf9cecc | |
parent | dbc05ae3867628abce5619bfab868a43818bdb0d [diff] |
drm/virtio: only destroy created contexts This can happen if userspace doesn't issue any 3D ioctls before closing the DRM fd. Fixes: 72b48ae800da ("drm/virtio: enqueue virtio_gpu_create_context after the first 3D ioctl") Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20200408232938.55816-1-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>