summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2017-05-17 17:39:55 -0400
committerRobert Foss <robert.foss@collabora.com>2017-05-19 13:56:49 -0400
commit75371e8b2991c5e6447ab3acb177c981ca7d67f3 (patch)
tree6c6ffe18e5afc8ffb2f7419966758c02c5f1ac3d
parent4ab45294d30cd77c630399e1e440a52d18b4f9ea (diff)
downloadgbm_gralloc-75371e8b2991c5e6447ab3acb177c981ca7d67f3.tar.gz
gbm_gralloc-75371e8b2991c5e6447ab3acb177c981ca7d67f3.tar.xz
Change default device node to open
Signed-off-by: Robert Foss <robert.foss@collabora.com>
-rw-r--r--gralloc_gbm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gralloc_gbm.cpp b/gralloc_gbm.cpp
index 5dc9f00..3bfe45a 100644
--- a/gralloc_gbm.cpp
+++ b/gralloc_gbm.cpp
@@ -242,8 +242,7 @@ struct gbm_device *gbm_dev_create(void)
struct gbm_device *gbm;
char path[PROPERTY_VALUE_MAX];
int fd;
-
- property_get("gralloc.gbm.device", path, "/dev/dri/renderD128");
+ property_get("gralloc.gbm.device", path, "/dev/dri/card0");
fd = open(path, O_RDWR | O_CLOEXEC);
if (fd < 0) {
ALOGE("failed to open %s", path);