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:
parent
f74ce8a047
commit
a0c8bfc8fc
3 changed files with 15 additions and 0 deletions
|
@ -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 += \
|
||||
|
|
6
techpack/camera-bengal/config/legacycameraconf.h
Normal file
6
techpack/camera-bengal/config/legacycameraconf.h
Normal 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
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue