diff options
author | David Riley <davidriley@chromium.org> | 2019-06-05 16:44:21 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-06-06 09:44:40 +0200 |
commit | 676a905b09d533ab3a30da753dba4f2daee97402 (patch) | |
tree | 97dc390bcb63f366ee7644a104c4249fef3a129a /drivers/gpu/drm/virtio/virtgpu_vq.c | |
parent | 7fdf478a43869bee27e1b50955830f6ebc730b67 (diff) | |
download | linux-stable-676a905b09d533ab3a30da753dba4f2daee97402.tar.gz linux-stable-676a905b09d533ab3a30da753dba4f2daee97402.tar.bz2 linux-stable-676a905b09d533ab3a30da753dba4f2daee97402.zip |
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/virtio/virtgpu_vq.c')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_vq.c | 2 |
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, |