summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-03-22 16:50:12 (GMT)
committerRob Herring <robh@kernel.org>2017-03-22 16:51:53 (GMT)
commit852d0412308c37d79a958a2f47eb7c33ecb36177 (patch)
tree9bed9b7506616e0d2cc12f7e9a09320d058365f2
parent66615246395fa504177a921c3e7128314efa7d1b (diff)
downloadandroid-device-linaro-generic-852d0412308c37d79a958a2f47eb7c33ecb36177.tar.gz
android-device-linaro-generic-852d0412308c37d79a958a2f47eb7c33ecb36177.tar.xz
graphics: switch from gralloc.drm to gralloc.gbm
We've changed the name, so update the device to build and pickup the right gralloc. Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--graphics/drm/device.mk2
-rw-r--r--graphics/drm/drm.rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/drm/device.mk b/graphics/drm/device.mk
index 1ca3910..d71ef05 100644
--- a/graphics/drm/device.mk
+++ b/graphics/drm/device.mk
@@ -3,7 +3,7 @@ PRODUCT_PACKAGES += drm.rc
PRODUCT_PACKAGES += \
libGLES_mesa \
hwcomposer.drm \
- gralloc.drm
+ gralloc.gbm
BOARD_SEPOLICY_DIRS += \
device/linaro/generic/graphics/drm/sepolicy
diff --git a/graphics/drm/drm.rc b/graphics/drm/drm.rc
index 739921a..5386c1c 100644
--- a/graphics/drm/drm.rc
+++ b/graphics/drm/drm.rc
@@ -11,7 +11,7 @@ on early-boot && property:ro.kernel.qemu=0
chmod 777 /sys/kernel/debug/sync/sw_sync
chown graphics graphics /sys/kernel/debug/sync/info
- setprop ro.hardware.gralloc drm
+ setprop ro.hardware.gralloc gbm
setprop ro.hardware.hwcomposer drm
setprop debug.sf.no_hw_vsync 1
setprop hwc.drm.use_framebuffer_target 1