Conditionally revert "msm: camera: ope: Increase max bl limit and max stripe to process"

This breaks camera on ibiza but required on newer devices.

This conditionally reverts commit 4fbb1700ef.

Change-Id: Iec7e8d593bb37b637d1f876228bf73b0944e01ff
This commit is contained in:
Michael Bestas 2023-05-17 00:54:56 +03:00
commit 23efbfea6d
No known key found for this signature in database
3 changed files with 15 additions and 0 deletions

View file

@ -94,6 +94,11 @@ endif
endif
ifeq ($(CONFIG_IBIZA_DTB), y)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/legacycameraconf.h
endif
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
# 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

@ -73,7 +73,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
/**