From: Gurchetan Singh Date: Wed, 1 Apr 2020 22:30:36 +0000 (-0700) Subject: drm/virtio: delete notify after virtio_gpu_cmd_context_create X-Git-Tag: v5.8-rc1~194^2~17^2~61 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6eefb4bb938fb0b214524bbcfd66f873540181c9;p=nvme.git drm/virtio: delete notify after virtio_gpu_cmd_context_create The first 3D ioctl will take care of notification. Signed-off-by: Gurchetan Singh Reviewed-by: Chia-I Wu Link: http://patchwork.freedesktop.org/patch/msgid/20200401223039.2860-2-gurchetansingh@chromium.org Signed-off-by: Gerd Hoffmann --- diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c index 336cc9143205..867c5e239d55 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c +++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c @@ -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: