msm: camera: mem_mgr: Cache invalidation optimization
During unmap these internal buffers will be freed immediately afterwards, therefore there is no need to do cache operation. CRs-Fixed: 2627074 Change-Id: Ica4ebb93eb212604268c3450a92d075197783537 Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
This commit is contained in:
@@ -41,6 +41,7 @@ enum cam_smmu_mapping_client {
|
||||
* @kmdvaddr: Kernel virtual address
|
||||
* @active: state of the buffer
|
||||
* @is_imported: Flag indicating if buffer is imported from an FD in user space
|
||||
* @is_internal: Flag indicating kernel allocated buffer
|
||||
*/
|
||||
struct cam_mem_buf_queue {
|
||||
struct dma_buf *dma_buf;
|
||||
@@ -56,6 +57,7 @@ struct cam_mem_buf_queue {
|
||||
uintptr_t kmdvaddr;
|
||||
bool active;
|
||||
bool is_imported;
|
||||
bool is_internal;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user