OSDN Git Service

minigbm: add vgem backend
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 30 Sep 2016 21:53:32 +0000 (14:53 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Tue, 18 Oct 2016 20:40:15 +0000 (13:40 -0700)
commit5521bde70f7781edbf5d6f5cced4b9cea41d0518
tree214522ae6b1048a271288580cda0239f4bf84908
parent10a11801089d87c1371e0b02b8c987b1d3417c61
minigbm: add vgem backend

When running x86 ARC++ images on a virtual machine, we use
the vgem driver.  We should support it here too.

BUG=chromium:616275
TEST=container boots when running QEMU with cros_gralloc.  Note
videos (i.e, YUV formats) don't work on QEMU, but they never did
with gralloc_drm either.

CQ-DEPEND=CL:392548

Change-Id: If9f6b8035f2a88068980bede5121ef4599b37272
Reviewed-on: https://chromium-review.googlesource.com/392549
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
cros_gralloc/cros_gralloc_helpers.cc
drv.c
vgem.c [new file with mode: 0644]