OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fdf478
)
drm/virtio: Wake up all waiters when capset response comes in.
author
David Riley
<davidriley@chromium.org>
Wed, 5 Jun 2019 23:44:21 +0000
(16:44 -0700)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 6 Jun 2019 07:44:40 +0000
(09:44 +0200)
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>
drivers/gpu/drm/virtio/virtgpu_vq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/virtio/virtgpu_vq.c
b/drivers/gpu/drm/virtio/virtgpu_vq.c
index
2c5eecc
..
2bac1cb
100644
(file)
--- 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,