Sfoglia il codice sorgente

msm: camera: uapi: Add message type for kmd internal recovery

When KMD faces overflow errors, it will try internal recovery
first, every time KMD do internal recovery, it notifies to UMD
to do according process.

CRs-Fixed: 3131351
Change-Id: I06e7dc3c258b12fc2865d3383280a456b42c2163
Signed-off-by: chengxue <[email protected]>
chengxue 3 anni fa
parent
commit
c733f90dd6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      include/uapi/camera/media/cam_req_mgr.h

+ 2 - 0
include/uapi/camera/media/cam_req_mgr.h

@@ -436,6 +436,7 @@ struct cam_mem_cache_ops_cmd {
  * @CAM_REQ_MGR_ERROR_TYPE_SOF_FREEZE: SOF freeze, can be recovered
  * @CAM_REQ_MGR_ERROR_TYPE_FULL_RECOVERY: Full recovery, can be recovered
  * @CAM_REQ_MGR_ERROR_TYPE_PAGE_FAULT: page fault, can be recovered
+ * @CAM_REQ_MGR_WARN_TYPE_KMD_RECOVERY: Do internal overflow recovery, notify UMD
  */
 #define CAM_REQ_MGR_ERROR_TYPE_DEVICE           0
 #define CAM_REQ_MGR_ERROR_TYPE_REQUEST          1
@@ -444,6 +445,7 @@ struct cam_mem_cache_ops_cmd {
 #define CAM_REQ_MGR_ERROR_TYPE_SOF_FREEZE       4
 #define CAM_REQ_MGR_ERROR_TYPE_FULL_RECOVERY    5
 #define CAM_REQ_MGR_ERROR_TYPE_PAGE_FAULT       6
+#define CAM_REQ_MGR_WARN_TYPE_KMD_RECOVERY      7
 
 /**
  * Request Manager : Error codes