Conditionally revert "msm: camera: ope: Increase max bl limit and max stripe to process"
This breaks camera on caprip but required on newer devices.
This conditionally reverts commit c4a3b49efc.
Change-Id: Iec7e8d593bb37b637d1f876228bf73b0944e01ff
This commit is contained in:
3 files changed
+15
No files matched your search
@@ -19,6 +19,11 @@ LINUXINCLUDE += \
|
|||||||
-include $(srctree)/techpack/camera-bengal/config/khajecameraconf.h
|
-include $(srctree)/techpack/camera-bengal/config/khajecameraconf.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_CAPRIP_DTB), y)
|
||||||
|
LINUXINCLUDE += \
|
||||||
|
-include $(srctree)/techpack/camera-bengal/config/legacycameraconf.h
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_SPECTRA_CAMERA_BENGAL
|
ifdef CONFIG_SPECTRA_CAMERA_BENGAL
|
||||||
# Use USERINCLUDE when you must reference the UAPI directories only.
|
# Use USERINCLUDE when you must reference the UAPI directories only.
|
||||||
USERINCLUDE += \
|
USERINCLUDE += \
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define CONFIG_SPECTRA_CAMERA_LEGACY 1
|
||||||
@@ -74,7 +74,11 @@
|
|||||||
#define OPE_MAX_IO_BUFS (OPE_OUT_RES_MAX + OPE_IN_RES_MAX)
|
#define OPE_MAX_IO_BUFS (OPE_OUT_RES_MAX + OPE_IN_RES_MAX)
|
||||||
#define OPE_MAX_PASS 1
|
#define OPE_MAX_PASS 1
|
||||||
#define OPE_MAX_PLANES 2
|
#define OPE_MAX_PLANES 2
|
||||||
|
#ifdef CONFIG_SPECTRA_CAMERA_LEGACY
|
||||||
|
#define OPE_MAX_STRIPES 48
|
||||||
|
#else
|
||||||
#define OPE_MAX_STRIPES 64
|
#define OPE_MAX_STRIPES 64
|
||||||
|
#endif
|
||||||
#define OPE_MAX_BATCH_SIZE 16
|
#define OPE_MAX_BATCH_SIZE 16
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user