drm/virtio: delete notify after virtio_gpu_cmd_context_create
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 1 Apr 2020 22:30:36 +0000 (15:30 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 3 Apr 2020 10:01:37 +0000 (12:01 +0200)
The first 3D ioctl will take care of notification.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200401223039.2860-2-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_ioctl.c

index 336cc91..867c5e2 100644 (file)
@@ -47,7 +47,6 @@ static void virtio_gpu_create_context(struct drm_device *dev,
        get_task_comm(dbgname, current);
        virtio_gpu_cmd_context_create(vgdev, vfpriv->ctx_id,
                                      strlen(dbgname), dbgname);
-       virtio_gpu_notify(vgdev);
        vfpriv->context_created = true;
 
 out_unlock: