summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDavid Riley <davidriley@chromium.org>2019-06-06 02:44:21 +0300
committerGerd Hoffmann <kraxel@redhat.com>2019-06-06 10:44:40 +0300
commit676a905b09d533ab3a30da753dba4f2daee97402 (patch)
tree97dc390bcb63f366ee7644a104c4249fef3a129a /drivers/gpu/drm
parent7fdf478a43869bee27e1b50955830f6ebc730b67 (diff)
downloadlinux-676a905b09d533ab3a30da753dba4f2daee97402.tar.xz
drm/virtio: Wake up all waiters when capset response comes in.
If multiple callers occur simultaneously, wake them all up. Signed-off-by: David Riley <davidriley@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20190605234423.11348-2-davidriley@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_vq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index 2c5eeccb88c0..2bac1cbc5ec8 100644
--- a/drivers/gpu/drm/virtio/virtgpu_vq.c
+++ b/drivers/gpu/drm/virtio/virtgpu_vq.c
@@ -598,7 +598,7 @@ static void virtio_gpu_cmd_capset_cb(struct virtio_gpu_device *vgdev,
}
}
spin_unlock(&vgdev->display_info_lock);
- wake_up(&vgdev->resp_wq);
+ wake_up_all(&vgdev->resp_wq);
}
static int virtio_get_edid_block(void *data, u8 *buf,