OSDN Git Service

minigbm: vgem: allow driver creation without planes resources
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 2 Dec 2016 19:02:47 +0000 (11:02 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 7 Dec 2016 03:55:10 +0000 (19:55 -0800)
commit714c689a436b717e1cce8b3834719c3f7855532d
tree47e538a0e641c1e27b78b4c9d8c849d1ed7e06fe
parent0cefbe911320120e1e09cfc08f3586ba19717d60
minigbm: vgem: allow driver creation without planes resources

With CL:405019, when drmModeGetPlaneResources failed, creation of
the driver failed. This was an issue for our vgem backend, which
we use to run ARC++ with QEMU. Let's not add KMS flags for vgem
since we know that doesn't work.

BUG=b:31942635
TEST=arc-cos-gralloc with vgem works

CQ-DEPEND=CL:415442

Change-Id: I33a812ab9a24e2e35a47d28f720c4cc2e83eb8f0
Reviewed-on: https://chromium-review.googlesource.com/416290
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
vgem.c