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:

committed by
Gerrit - the friendly Code Review server

parent
79edec1a06
commit
9d1e44a94f
@@ -11,8 +11,6 @@
|
|||||||
#include <media/cam_req_mgr.h>
|
#include <media/cam_req_mgr.h>
|
||||||
#include "cam_mem_mgr_api.h"
|
#include "cam_mem_mgr_api.h"
|
||||||
|
|
||||||
#define CAM_MEM_BUFQ_MAX 1024
|
|
||||||
|
|
||||||
/* Enum for possible mem mgr states */
|
/* Enum for possible mem mgr states */
|
||||||
enum cam_mem_mgr_state {
|
enum cam_mem_mgr_state {
|
||||||
CAM_MEM_MGR_UNINITIALIZED,
|
CAM_MEM_MGR_UNINITIALIZED,
|
||||||
|
@@ -290,7 +290,7 @@ struct cam_req_mgr_link_control {
|
|||||||
#define CAM_MEM_MMU_MAX_HANDLE 16
|
#define CAM_MEM_MMU_MAX_HANDLE 16
|
||||||
|
|
||||||
/* Maximum allowed buffers in existence */
|
/* 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_SECURE_BIT_POS 15
|
||||||
#define CAM_MEM_MGR_HDL_IDX_SIZE 15
|
#define CAM_MEM_MGR_HDL_IDX_SIZE 15
|
||||||
|
Reference in New Issue
Block a user