[PATCH v2 0/5] *** Delay context create cmd ***

Gurchetan Singh gurchetansingh at chromium.org
Thu Feb 13 23:18:00 UTC 2020


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



More information about the dri-devel mailing list