Re: [PATCH] drm/virtio: make sure context is created in gem open

2021-01-12 Thread Anthoine Bourgeois
On Thu, Jan 07, 2021 at 01:07:26PM -0800, Chia-I Wu wrote: 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 Cc: Gerd

Re: [PATCH] drm/virtio: make sure context is created in gem open

2021-01-07 Thread Gurchetan Singh
On Thu, Jan 7, 2021 at 1:07 PM Chia-I Wu wrote: > 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 > Cc: Gerd

[PATCH] drm/virtio: make sure context is created in gem open

2021-01-07 Thread Chia-I Wu
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 Cc: Gerd Hoffmann Signed-off-by: Chia-I Wu ---