Re: [PATCH 2/4] drm/virtio: factor out context create cmd

2020-02-12 Thread Chia-I Wu
On Tue, Feb 11, 2020 at 3:56 PM Gurchetan Singh wrote: > > We currently do it when open the DRM fd, let's delay it. First step, > remove the hyercall from initialization. > > Signed-off-by: Gurchetan Singh > --- > drivers/gpu/drm/virtio/virtgpu_drv.h | 2 ++ > drivers/gpu/drm/virtio/virtgpu_i

[PATCH 2/4] drm/virtio: factor out context create cmd

2020-02-11 Thread Gurchetan Singh
We currently do it when open the DRM fd, let's delay it. First step, remove the hyercall from initialization. Signed-off-by: Gurchetan Singh --- drivers/gpu/drm/virtio/virtgpu_drv.h | 2 ++ drivers/gpu/drm/virtio/virtgpu_ioctl.c | 16 drivers/gpu/drm/virtio/virtgpu_kms.c |