hikey/hikey960: Add userland support for dmabuf heap dev dir
This patch adds the userland bits to support the dmabuf heap
dev dir (/dev/dma_heap/*).
Change-Id: Id837c19adc931973e9791355b06bd0aceff60275
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/ueventd.common.rc b/ueventd.common.rc
index b7dd505..7f37c25 100644
--- a/ueventd.common.rc
+++ b/ueventd.common.rc
@@ -1,5 +1,9 @@
modalias_handling enabled
+subsystem dma_heap
+ devname uevent_devpath
+ dirname /dev/dma_heap
+
subsystem usbmisc
devname uevent_devname
@@ -14,6 +18,8 @@
/dev/hi_vdec 0660 system camera
/dev/hi_venc 0660 system camera
/dev/ion 0666 system graphics
+/dev/dma_heap/system 0666 system graphics
+/dev/dma_heap/linux,cma 0666 system graphics
/dev/graphics/fb0 0666 system graphics
/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq min_freq 0644 system system