exynos4: getphys implementation on buffermanager for samsung omx
Change-Id: I73d9633e1a7b3316ede28dd1369f8f069609cbb0
This commit is contained in:
parent
3141dc73b6
commit
e3fc10fbb7
@ -59,6 +59,10 @@ public:
|
||||
|
||||
status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
|
||||
|
||||
#ifdef EXYNOS4_ENHANCEMENTS
|
||||
status_t getphys(buffer_handle_t handle, void** paddr);
|
||||
#endif
|
||||
|
||||
// dumps information about the mapping of this handle
|
||||
void dump(buffer_handle_t handle);
|
||||
|
||||
|
@ -190,5 +190,18 @@ status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd)
|
||||
return err;
|
||||
}
|
||||
|
||||
#ifdef EXYNOS4_ENHANCEMENTS
|
||||
status_t GraphicBufferMapper::getphys(buffer_handle_t handle, void** paddr)
|
||||
{
|
||||
status_t err;
|
||||
|
||||
err = mAllocMod->getphys(mAllocMod, handle, paddr);
|
||||
|
||||
ALOGW_IF(err, "getphys(%p) fail %d(%s)", handle, err, strerror(-err));
|
||||
return err;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
}; // namespace android
|
||||
|
Loading…
Reference in New Issue
Block a user