[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190610211810.253227-3-davidriley@chromium.org>
Date: Mon, 10 Jun 2019 14:18:08 -0700
From: davidriley@...omium.org
To: Gerd Hoffmann <kraxel@...hat.com>, dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
linux-kernel@...r.kernel.org, David Riley <davidriley@...omium.org>
Subject: [PATCH v2 2/4] drm/virtio: Wake up all waiters when capset response comes in.
From: David Riley <davidriley@...omium.org>
If multiple callers occur simultaneously, wake them all up.
Signed-off-by: David Riley <davidriley@...omium.org>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index e62fe24b1a2e..da71568adb9a 100644
--- a/drivers/gpu/drm/virtio/virtgpu_vq.c
+++ b/drivers/gpu/drm/virtio/virtgpu_vq.c
@@ -588,7 +588,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,
--
2.22.0.rc2.383.gf4fbbf30c2-goog
Powered by blists - more mailing lists