ve_en = 1;
/* #ifdef NEW_DNLP_IN_SHARPNESS */
/* if(dnlp_sel == NEW_DNLP_IN_SHARPNESS){ */
- if (is_meson_gxtvbb_cpu() &&
- (dnlp_sel == NEW_DNLP_IN_SHARPNESS))
- WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 1, 0, 1);
- else
+ if (dnlp_sel == NEW_DNLP_IN_SHARPNESS) {
+ if (is_meson_gxlx_cpu())
+ WRITE_VPP_REG_BITS(SRSHARP1_DNLP_EN, 1, 0, 1);
+ else
+ WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 1, 0, 1);
+ } else
/* #endif */
WRITE_VPP_REG_BITS(VPP_VE_ENABLE_CTRL,
1, DNLP_EN_BIT, DNLP_EN_WID);
void ve_disable_dnlp(void)
{
ve_en = 0;
-/* #ifdef NEW_DNLP_IN_SHARPNESS */
-/* if(dnlp_sel == NEW_DNLP_IN_SHARPNESS){ */
- if (is_meson_gxtvbb_cpu() &&
- (dnlp_sel == NEW_DNLP_IN_SHARPNESS))
- WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 0, 0, 1);
+ if (dnlp_sel == NEW_DNLP_IN_SHARPNESS)
+ if (is_meson_gxlx_cpu())
+ WRITE_VPP_REG_BITS(SRSHARP1_DNLP_EN, 0, 0, 1);
+ else
+ WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 0, 0, 1);
else
-/* #endif */
-/* { */
WRITE_VPP_REG_BITS(VPP_VE_ENABLE_CTRL,
0, DNLP_EN_BIT, DNLP_EN_WID);
-/* } */
}
void ve_set_dnlp(struct ve_dnlp_s *p)
#define SRSHARP0_DNLP_15 0x3255
#define SRSHARP0_DEMO_CRTL 0x3256
+#define SRSHARP1_DNLP_EN 0x32c5
+#define SRSHARP1_DNLP_00 0x32c6
+#define SRSHARP1_DNLP_01 0x32c7
+#define SRSHARP1_DNLP_02 0x32c8
+#define SRSHARP1_DNLP_03 0x32c9
+#define SRSHARP1_DNLP_04 0x32ca
+#define SRSHARP1_DNLP_05 0x32cb
+#define SRSHARP1_DNLP_06 0x32cc
+#define SRSHARP1_DNLP_07 0x32cd
+#define SRSHARP1_DNLP_08 0x32ce
+#define SRSHARP1_DNLP_09 0x32cf
+#define SRSHARP1_DNLP_10 0x32d0
+#define SRSHARP1_DNLP_11 0x32d1
+#define SRSHARP1_DNLP_12 0x32d2
+#define SRSHARP1_DNLP_13 0x32d3
+#define SRSHARP1_DNLP_14 0x32d4
+#define SRSHARP1_DNLP_15 0x32d5
+#define SRSHARP1_DEMO_CRTL 0x32d6
+
#endif /* _VE_REG_H */