mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
msm: camera: memmgr: increase max slot count into 2048
In case large memory slot usage scene like MFHDR, MFSR. increase kernel slot count to avoid out of memory issue. CRs-Fixed: 2718732 Change-Id: I49dd2d9bdda548d5f95fa49c290364ecb6d40f6e Signed-off-by: bohahuan <bohahuan@codeaurora.org>
This commit is contained in:
parent
79edec1a06
commit
9d1e44a94f
2 changed files with 1 additions and 3 deletions
|
|
@ -11,8 +11,6 @@
|
|||
#include <media/cam_req_mgr.h>
|
||||
#include "cam_mem_mgr_api.h"
|
||||
|
||||
#define CAM_MEM_BUFQ_MAX 1024
|
||||
|
||||
/* Enum for possible mem mgr states */
|
||||
enum cam_mem_mgr_state {
|
||||
CAM_MEM_MGR_UNINITIALIZED,
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ struct cam_req_mgr_link_control {
|
|||
#define CAM_MEM_MMU_MAX_HANDLE 16
|
||||
|
||||
/* Maximum allowed buffers in existence */
|
||||
#define CAM_MEM_BUFQ_MAX 1024
|
||||
#define CAM_MEM_BUFQ_MAX 2048
|
||||
|
||||
#define CAM_MEM_MGR_SECURE_BIT_POS 15
|
||||
#define CAM_MEM_MGR_HDL_IDX_SIZE 15
|
||||
|
|
|
|||
Loading…
Reference in a new issue