diff options
author | Vinil Cheeramvelil <vinil.cheeramvelil@intel.com> | 2014-09-10 06:29:33 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2015-06-12 14:56:08 -0700 |
commit | 97499e0e66f97479df3f50345616e324f9ad3644 (patch) | |
tree | c00bd55b47ab9581f0efc60a9b3fc05d896fe374 /moorefield_hdmi/ips | |
parent | 965bfbcf0f02fe47296ef9b2e6681d1289c73d57 (diff) | |
download | hwcomposer-97499e0e66f97479df3f50345616e324f9ad3644.tar.gz |
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>
Diffstat (limited to 'moorefield_hdmi/ips')
-rw-r--r-- | moorefield_hdmi/ips/common/WsbmWrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moorefield_hdmi/ips/common/WsbmWrapper.c b/moorefield_hdmi/ips/common/WsbmWrapper.c index 8080529..8d7c275 100644 --- a/moorefield_hdmi/ips/common/WsbmWrapper.c +++ b/moorefield_hdmi/ips/common/WsbmWrapper.c @@ -178,7 +178,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) { ELOGTRACE("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) { ELOGTRACE("wsbmBODataUB failed with error code %d", ret); return ret; |