ANDROID: GKI: dma-buf: Add support for partial cache maintenance
In order to improve performance, allow dma-buf clients to apply cache maintenance to only a subset of a dma-buf. Kernel clients will be able to use the dma_buf_begin_cpu_access_partial and dma_buf_end_cpu_access_partial functions to only apply cache maintenance to a range within the dma-buf. Bug: 133508579 Test: ion-unit-tests Change-Id: Icce61fc21b1542f5248daea34f713184449a62c3 Signed-off-by:Isaac J. Manjarres <isaacm@codeaurora.org> Signed-off-by:
Sandeep Patil <sspatil@google.com> [surenb: cherry-picked from ACK 5.4 branch] Bug: 150611569 Test: build Signed-off-by:
Suren Baghdasaryan <surenb@google.com> Change-Id: I453e69fa792508c367fb03a8d543ee42254e7138
Loading
Please register or sign in to comment