summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher R. Palmer <crpalmer@gmail.com>2015-10-11 08:20:39 -0400
committerChristopher R. Palmer <crpalmer@gmail.com>2015-12-19 04:47:02 -0500
commit9303837b68ee7c73a3271e1fe8dd3410eea5343c (patch)
tree5267804feb27470fac6896ae025f9d386b642a1b
parenta8d4a6a2bc82c3d0b996e13d512493bbf6593cd0 (diff)
downloadandroid_hardware_intel_img_hwcomposer-9303837b68ee7c73a3271e1fe8dd3410eea5343c.tar.gz
android_hardware_intel_img_hwcomposer-9303837b68ee7c73a3271e1fe8dd3410eea5343c.tar.bz2
android_hardware_intel_img_hwcomposer-9303837b68ee7c73a3271e1fe8dd3410eea5343c.zip
hwc: Enabling ION
Applying this to moorefield commit 97499e0e66f97479df3f50345616e324f9ad3644 Author: Vinil Cheeramvelil <vinil.cheeramvelil@intel.com> Date: Wed Sep 10 06:29:33 2014 +0800 hwc: Enabling ION - HWC Calling a libwsbm function with fd value (-1) Orig-Author: Randy Xu <randy.xu@intel.com> Bug: 18731042 BZ: 230505 Change-Id: I6a7a218c7fd6a5af6f4e0eea9cfef1ffca6752db Signed-off-by: Dale Stimson <dale.b.stimson@intel.com> Change-Id: I308cacbfd86b340f4d8e486d4cde7ec556f60d3b
-rw-r--r--merrifield/ips/common/WsbmWrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/merrifield/ips/common/WsbmWrapper.c b/merrifield/ips/common/WsbmWrapper.c
index 5e4161e..81b1f2a 100644
--- a/merrifield/ips/common/WsbmWrapper.c
+++ b/merrifield/ips/common/WsbmWrapper.c
@@ -177,7 +177,7 @@ int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user
ret = wsbmBODataUB(wsbmBuf,
align_to(size, 4096), NULL, NULL, 0,
- user_pt);
+ user_pt, -1);
if(ret) {
ETRACE("wsbmBOData failed with error code %d", ret);
@@ -296,7 +296,7 @@ int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr)
}
wsbmBuf = (struct _WsbmBufferObject *)buf;
- ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr);
+ ret = wsbmBODataUB(wsbmBuf, size, NULL, NULL, 0, vaddr, -1);
if (ret) {
ETRACE("wsbmBODataUB failed with error code %d", ret);
return ret;