mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
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:
parent
c6a3edae46
commit
23efbfea6d
3 changed files with 15 additions and 0 deletions
|
|
@ -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 += \
|
||||
|
|
|
|||
6
techpack/camera/config/legacycameraconf.h
Normal file
6
techpack/camera/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
|
||||
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue