Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 296ba130 authored by Sandeep Patil's avatar Sandeep Patil
Browse files

ANDROID: staging: ion: Add support for heap-specific dma_buf_ops



All dma_buf ops are registered by ion core. However, if a given heap
provides a specific dmabuf operation, that will be preferred over the
default ion core implementation

Some dma_buf_ops like get_flags, begin_cpu_access_partial etc are
entirely not supported by ion core and will return -EOPNOTSUPP if the
heap implementation doesn't provided the necessary overrides.

Tested with ion unit test with default system heap.

Bug: 133508579
Bug: 140290587
Test: ion-unit-test

Change-Id: Id13c5c280064b6f47de327223733c2c393f1a41a
Signed-off-by: default avatarSandeep Patil <sspatil@google.com>
parent 5da9f3fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment