瀏覽代碼

msm: camera: isp: Add UAPI to get RCS flag

Few ports with UBWC needs RCS enablement. This commit adds
hint from userland to indicate if RCS can be enabled. This
information is passed as a part of acquire.

CRs-Fixed: 3321317
Change-Id: Ic7375de0091ab3aebec70cc521be85585362555d
Signed-off-by: Gaurav Jindal <[email protected]>
Gaurav Jindal 2 年之前
父節點
當前提交
ebfc6ff874
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/uapi/camera/media/cam_isp.h

+ 5 - 0
include/uapi/camera/media/cam_isp.h

@@ -219,6 +219,11 @@
  */
 #define CAM_IFE_USE_WM_PACK                  BIT(0)
 
+/*
+ * to indicate if RCS to be enabled.
+ */
+#define CAM_IFE_WM_RCS_EN                    BIT(1)
+
 /**
  * struct cam_isp_drv_config - CSID config for DRV
  *        Enables DRV and provides worst case timeout value in INIT packet,