mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
wl: disable wl shared memory feature
When the shared memory feature is enabled, there is a bug in how the driver handles vfds without an associated pfn. Disable the feature bit until the bug is fixed. BUG=b:213532601 TEST=crostini.CopyPaste.wayland_to_x11_buster_stable Change-Id: Ic5f68e167e8ee8f4c990d0c4d73149e60b3ce908 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3789166 Commit-Queue: David Stevens <stevensd@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: David Stevens <stevensd@chromium.org>
This commit is contained in:
parent
49c8cd6160
commit
bdba48b64b
1 changed files with 3 additions and 4 deletions
|
@ -1972,10 +1972,9 @@ impl VirtioDevice for Wl {
|
|||
}
|
||||
|
||||
fn features(&self) -> u64 {
|
||||
self.base_features
|
||||
| 1 << VIRTIO_WL_F_TRANS_FLAGS
|
||||
| 1 << VIRTIO_WL_F_SEND_FENCES
|
||||
| 1 << VIRTIO_WL_F_USE_SHMEM
|
||||
self.base_features | 1 << VIRTIO_WL_F_TRANS_FLAGS | 1 << VIRTIO_WL_F_SEND_FENCES
|
||||
// TODO(stevensd): re-add flag once driver is fixed
|
||||
// | 1 << VIRTIO_WL_F_USE_SHMEM
|
||||
}
|
||||
|
||||
fn ack_features(&mut self, value: u64) {
|
||||
|
|
Loading…
Reference in a new issue