mbox series

[0/4] *** Delay enqueuing context create command ***

Message ID 20200211235635.488-1-gurchetansingh@chromium.org (mailing list archive)
Headers show
Series *** Delay enqueuing context create command *** | expand

Message

Gurchetan Singh Feb. 11, 2020, 11:56 p.m. UTC
Let's delay enqueuing the context creation command until the first 3D
ioctl, as we add more context types.  This is based on kraxel's
"drm/virtio: rework batching" patch and needs that to work correctly.

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

 drivers/gpu/drm/virtio/virtgpu_drv.h   |  3 ++
 drivers/gpu/drm/virtio/virtgpu_ioctl.c | 46 ++++++++++++++++++++------
 drivers/gpu/drm/virtio/virtgpu_kms.c   | 11 +++---
 3 files changed, 44 insertions(+), 16 deletions(-)