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:
Michael Bestas 2023-05-17 00:54:56 +03:00
parent f74ce8a047
commit a0c8bfc8fc
No known key found for this signature in database
GPG key ID: CC95044519BE6669
3 changed files with 15 additions and 0 deletions

View file

@ -19,6 +19,11 @@ LINUXINCLUDE += \
-include $(srctree)/techpack/camera-bengal/config/khajecameraconf.h
endif
ifeq ($(CONFIG_CAPRIP_DTB), y)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera-bengal/config/legacycameraconf.h
endif
ifdef CONFIG_SPECTRA_CAMERA_BENGAL
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE += \

View file

@ -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

View file

@ -74,7 +74,11 @@
#define OPE_MAX_IO_BUFS (OPE_OUT_RES_MAX + OPE_IN_RES_MAX)
#define OPE_MAX_PASS 1
#define OPE_MAX_PLANES 2
#ifdef CONFIG_SPECTRA_CAMERA_LEGACY
#define OPE_MAX_STRIPES 48
#else
#define OPE_MAX_STRIPES 64
#endif
#define OPE_MAX_BATCH_SIZE 16
/**