Let's delay enqueuing the context creation command until the first 3D
ioctl, as we add more context types.  This series is based on kraxel's
"[PATCH v3 0/4] drm/virtio: rework batching" patches.

Gurchetan Singh (5):
  drm/virtio: use consistent names for drm_files
  drm/virtio: factor out context create hyercall
  drm/virtio: track whether or not a context has been initiated
  drm/virtio: enqueue virtio_gpu_create_context after the first 3D ioctl
  drm/virtio: add virtio_gpu_context_type

 drivers/gpu/drm/virtio/virtgpu_drv.h   |  1 +
 drivers/gpu/drm/virtio/virtgpu_ioctl.c | 55 +++++++++++++++++++++-----
 drivers/gpu/drm/virtio/virtgpu_kms.c   | 25 +++---------
 3 files changed, 52 insertions(+), 29 deletions(-)

-- 
2.25.0.265.gbab2e86ba0-goog

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to