summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2015-05-18 17:28:59 -0700
committerJason Sams <jsams@google.com>2015-05-18 17:28:59 -0700
commitfa578a3a3404bafaae1ac23164a563a70e00fd44 (patch)
tree256e409c31ed15ec3b1747084b450e24b89faeac /driver
parent874ed8dee9ab7118efb517f6a8a9c1758818fd4c (diff)
downloadrs-fa578a3a3404bafaae1ac23164a563a70e00fd44.tar.gz
Notify drivers when user get a pointer to allocation
Requested by vendor for driver bring-up. bug 20894664 Change-Id: I7a1540236e557ef42ffde1c832b5d5ef36b91c96
Diffstat (limited to 'driver')
-rw-r--r--driver/rsdCore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/rsdCore.cpp b/driver/rsdCore.cpp
index 9c4755c5..d65460c8 100644
--- a/driver/rsdCore.cpp
+++ b/driver/rsdCore.cpp
@@ -154,6 +154,8 @@ extern "C" bool rsdHalQueryHal(RsHalInitEnums entry, void **fnPtr) {
fnPtr[0] = (void *)rsdAllocationUpdateCachedObject; break;
case RS_HAL_ALLOCATION_ADAPTER_OFFSET:
fnPtr[0] = (void *)rsdAllocationAdapterOffset; break;
+ case RS_HAL_ALLOCATION_GET_POINTER:
+ fnPtr[0] = (void *)nullptr; break;
case RS_HAL_SAMPLER_INIT:
fnPtr[0] = (void *)rsdSamplerInit; break;