瀏覽代碼

Merge "msm: camera: memmgr: increase max slot count into 2048" into camera-kernel.lnx.4.0

Camera Software Integration 4 年之前
父節點
當前提交
6e0357ec3c
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. 0 2
      drivers/cam_req_mgr/cam_mem_mgr.h
  2. 1 1
      include/uapi/camera/media/cam_req_mgr.h

+ 0 - 2
drivers/cam_req_mgr/cam_mem_mgr.h

@@ -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,

+ 1 - 1
include/uapi/camera/media/cam_req_mgr.h

@@ -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