mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-25 04:14:06 +00:00
virtwl: exclude "pvr" drm devices for mediatek systems
On Mediatek systems like hana we see there's are three drm renderer devices including vgem, pvr, and mediatek. We should exclude the pvr device along with the vgem device for crosvm usage. BUG=none TEST=manual test on hana TEST=build_test passes on all architectures Change-Id: I834c231a08a7193bd358b3543ed0ed81a6d8bd84 Reviewed-on: https://chromium-review.googlesource.com/1087250 Commit-Ready: Sonny Rao <sonnyrao@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org> Reviewed-by: David Reveman <reveman@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
5f787217cc
commit
72fa671f6c
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ impl GpuMemoryAllocator for GpuBufferDevice {
|
|||
|
||||
#[cfg(feature = "wl-dmabuf")]
|
||||
fn create_gpu_memory_allocator() -> Result<Option<Box<GpuMemoryAllocator>>> {
|
||||
let undesired: &[&str] = &["vgem"];
|
||||
let undesired: &[&str] = &["vgem", "pvr"];
|
||||
let fd = gpu_buffer::rendernode::open_device(undesired)
|
||||
.map_err(|_| Error::OpenGpuBufferDevice)?;
|
||||
let device = gpu_buffer::Device::new(fd)
|
||||
|
|
Loading…
Reference in a new issue