Jelajahi Sumber

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 tahun lalu
induk
melakukan
ebfc6ff874
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  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,