diff options
author | Gurchetan Singh <gurchetansingh@chromium.org> | 2016-12-02 11:02:47 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-12-06 19:55:10 -0800 |
commit | 714c689a436b717e1cce8b3834719c3f7855532d (patch) | |
tree | 47e538a0e641c1e27b78b4c9d8c849d1ed7e06fe /vgem.c | |
parent | 0cefbe911320120e1e09cfc08f3586ba19717d60 (diff) |
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>
Diffstat (limited to 'vgem.c')
-rw-r--r-- | vgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ static struct supported_combination combos[2] = { static int vgem_init(struct driver *drv) { drv_insert_combinations(drv, combos, ARRAY_SIZE(combos)); - return drv_add_kms_flags(drv); + return 0; } static uint32_t vgem_resolve_format(uint32_t format) |