msm: camera: smmu: Enhance debug capability for camera memmgr
Improve debugging infrastructure and logging for memory related issues. There are scenarios where the fd returned after ion_alloc exists in camera smmu table as being mapped [stale entry]. On such scenarios, this change will return a specific error code to userspace. The change also propagates the mapped size back to user space. CRs-Fixed: 2663114 Change-Id: Ia797b65d1e8ded58dec5b01df07d73262c4cfa95 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
a68684d77c
当前提交
ec23ff584a
@@ -343,12 +343,12 @@ struct cam_mem_alloc_out_params {
|
||||
/**
|
||||
* struct cam_mem_map_out_params
|
||||
* @buf_handle: buffer handle
|
||||
* @reserved: reserved for future
|
||||
* @size: size of the buffer being mapped
|
||||
* @vaddr: virtual address pointer
|
||||
*/
|
||||
struct cam_mem_map_out_params {
|
||||
__u32 buf_handle;
|
||||
__u32 reserved;
|
||||
__u32 size;
|
||||
__u64 vaddr;
|
||||
};
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户