android_kernel_samsung_sm86.../drivers/cam_req_mgr
zhuo 77cdd783b0 msm: camera: memmgr: Add refcount to track umd in use buffers
Currently krefcount is using by umd and kmd. Due to sometimes
there is issue in umd, such as release twice. That maybe causes
buffer release before kmd access the buffer. This commit add
a new refcount to track umd in use buffers and use current krefcount
to track kmd in use buffers. For the same buffer use in kmd and umd
only when all refcount become zero, the buffer start to release.

CRs-Fixed: 3692103
Change-Id: I5a58d9bab4c82bdb192d6a6a3d2b3d254dc04c9e
Signed-off-by: zhuo <quic_zhuo@quicinc.com>
2024-04-06 16:44:21 +08:00
..
cam_mem_mgr_api.h msm: camera: mem_mgr: Add refcount to track in use buffers 2023-06-21 15:06:26 -07:00
cam_mem_mgr.c msm: camera: memmgr: Add refcount to track umd in use buffers 2024-04-06 16:44:21 +08:00
cam_mem_mgr.h msm: camera: memmgr: Add refcount to track umd in use buffers 2024-04-06 16:44:21 +08:00
cam_req_mgr_core_defs.h Camera: Bring over camera driver changes 2019-07-08 10:24:55 -07:00
cam_req_mgr_core.c msm: camera: req_mgr: correct the condition check for apply req 2024-02-21 13:39:09 +05:30
cam_req_mgr_core.h msm: camera: reqmgr: Increase total link capacity 2024-01-15 23:40:38 -08:00
cam_req_mgr_debug.c msm: camera: common: create a common root folder for debugfs 2021-12-22 16:43:42 -08:00
cam_req_mgr_debug.h msm: camera: common: Merge camera-kernel.3.1 changes in camera-kernel.4.0 2020-10-13 12:08:01 +05:30
cam_req_mgr_dev.c msm: camera: memmgr: Add provision for heap selection 2023-08-14 13:33:05 -07:00
cam_req_mgr_dev.h msm: camera: isp: Reduce traffic for shutter notification 2021-09-30 18:05:29 +05:30
cam_req_mgr_interface.h msm: camera: tfe: Add support for auto SHDR 2023-12-18 17:08:13 +05:30
cam_req_mgr_timer.c msm: camera: common: Add common function to modify timer 2021-06-02 11:10:53 -07:00
cam_req_mgr_timer.h msm: camera: req_mgr: Header file comment fixes 2020-02-03 17:35:50 -08:00
cam_req_mgr_util_priv.h Camera: Bring over camera driver changes 2019-07-08 10:24:55 -07:00
cam_req_mgr_util.c msm: camera: core: validation of session/device/link handle 2023-05-25 22:06:10 -07:00
cam_req_mgr_util.h msm: camera: core: validation of session/device/link handle 2023-05-25 22:06:10 -07:00
cam_req_mgr_workq.c msm: camera: common: rate limit error log and enable few warning logs 2023-11-22 08:39:41 -08:00
cam_req_mgr_workq.h msm: camera: common: workq delay debug 2023-02-17 16:36:12 -08:00
cam_subdev.h msm: camera: isp: Maintain clock rate relation between CSIPHY, CSID and TFE 2023-10-14 17:41:52 +05:30