msm: camera: memmgr: Add interface to support cpu access operation

Add ioctl interfaces to support dma begin and end cpu access
operations for camera buffers.

CRs-Fixed: 3197463
Change-Id: Ibeb31e8f425489abfdd47df6f92271ac40ace407
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
This commit is contained in:
Pavan Kumar Chilamkurthi
2022-05-16 01:17:08 -07:00
committed by Camera Software Integration
szülő 909b2ed98e
commit 5af17aad2a
4 fájl változott, egészen pontosan 160 új sor hozzáadva és 3 régi sor törölve

Fájl megtekintése

@@ -168,6 +168,15 @@ int cam_mem_mgr_map(struct cam_mem_mgr_map_cmd_v2 *cmd);
*/
int cam_mem_mgr_cache_ops(struct cam_mem_cache_ops_cmd *cmd);
/**
* @brief: Perform cpu access ops on the buffer
*
* @cmd: CPU access ops information
*
* @return Status of operation. Negative in case of error. Zero otherwise.
*/
int cam_mem_mgr_cpu_access_op(struct cam_mem_cpu_access_op *cmd);
/**
* @brief: Initializes the memory manager
*