diff options
author | Amy Zhang <amyjojo@google.com> | 2021-03-01 20:18:26 -0800 |
---|---|---|
committer | Amy Zhang <amyjojo@google.com> | 2021-03-10 17:38:51 +0000 |
commit | f5c7dcee2d14734e013e0f32ee8f93cf0ae4ae5e (patch) | |
tree | 743bc537f7e088da281d589e6f60b0052ffbbe33 /camera/common/1.0/default/CameraModule.cpp | |
parent | 1bcf9dd393590a4702eb0d58eec563be65c7a239 (diff) |
Make the tv tuner hal use libdmabufheap instead of libion
Cherry-pick the same change from aosp/1610134 on Tuner 1.0
to Tuner 1.1 in sc-dev branch
Let the TV tuner HAL allocate DMA-BUFs fds with libdmabufheap.
Devices supporting ION will continue to allocate from ION with the
change. Devices that are deprecating ION will be able to allocate from
the DMA-BUF heap framework instead. Both frameworks allocate DMA-BUFs,
hence no other changes are required in the handling of the fd.
Test: make android.hardware.tv.tuner@1.1-service and sampletis on
Cuttlefish
Refer to AOSP Change-Id: Ic147ed83c9097be76162a86cd4f94d3b1c27a10f
Change-Id: Ibb4f29624008b5af24429c48fc72f6bf8a8bc5ac
Bug: 181341260
Bug: 181997400
Change-Id: Ic392428f1cef183ef4c9c8720bc984673095f2a9
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions