diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2021-01-07 13:07:26 -0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-01-11 08:49:48 +0100 |
commit | 8aeef9d4f48917ce85710949b079548974b4a638 (patch) | |
tree | 4109a76f14046f59e2e6761056be26f3cda58cbe /drivers/gpu/drm/drm_auth.c | |
parent | e695e62306d439913cf081ba54e49268e4a3156b (diff) |
drm/virtio: make sure context is created in gem open
The context might still be missing when DRM_IOCTL_PRIME_FD_TO_HANDLE is
the first ioctl on the drm_file.
Fixes: 72b48ae800da ("drm/virtio: enqueue virtio_gpu_create_context after the first 3D ioctl")
Cc: Gurchetan Singh <gurchetansingh@chromium.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210107210726.269584-1-olvaffe@gmail.com
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
0 files changed, 0 insertions, 0 deletions