Shut down everything that slipped through the cracks of 0309dd2
("techpack: audio: Tone down repetitive logging").
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: engstk <eng.stk@sapo.pt>
We need this for audio to actually work
Signed-off-by: HolyAngel <slverwolf@gmail.com>
Change-Id: Id1875d12f5328d917da7d33be301571751cd1f88
Signed-off-by: engstk <eng.stk@sapo.pt>
A measurably significant amount of CPU time is spent in these routines
while the camera is open. These are also responsible for a grotesque
amount of dmesg spam, so let's nuke them.
Adjusted for Oneplus 8 Pro by: Kristof Petho <kristof.petho@gmail.com>
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
We're not going to debug the SDE driver in production. Don't compile the
code at all to reduce the measurably significant overhead in frame commit
hotpaths.
Adapted to sm8250 by: Kristof Petho <kristof.petho@gmail.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Writing to registers is frequent enough that there is a measurably
significant portion of CPU time spent on checking the debug mask for
whether to log. Remove the check and logging call altogether to
eliminate the overhead.
Adapted to sm8250 by: Kristof Petho <kristof.petho@gmail.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
This reverts commit 5fa9472bc2.
Reason for revert: <INSERT REASONING HERE>
OP9R kernel code separate from OP8 kernel code
Change-Id: If1a8b9197a0323f9dd0929e73998e1ebe66297d6
Support build environments where find -xtype is not supported.
This reverts commit 5081f16b3d.
Change-Id: Ibb4a9f2429bad5e0bae690f60605887f01623a16
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
Due to path being inaccurate, the techpack folder was not being
compiled completely. Using techpack fixes this issue.
Change-Id: Id06927e5b4bfad0d5c8208b199d9d217abbf6306
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
Tech packages default configuration should be on.
Change-Id: I3cdf9276103f08db7130535aab1206a95a03b5a7
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
Enable tech packages to have kernel drivers that are physically
located in the kernel source tree but not present in the kernel
repository. This is done via a manifest line item to fetch a
techpackage-module into $KERNEL/techpack/$techpackage-module.
$KERNEL/techpack/Kbuild will automatically detect any
subdirectories and link them to the kernel's kbuild system.
The resulting layout of techpack within kernel source would be as
follows :-
kernel/
├── techpack/
├── Kbuild
└── stub
│ ├── Makefile
│ ├── include
│ │ └── uapi
│ │ └── Kbuild
└── stub.c
├── techpackage-module
├── Makefile
├── include
│ └── uapi
│ ├── Kbuild
$KERNEL/techpack only contains Kbuild (no Makefile) at the
toplevel and this Kbuild takes care of both compiling the
subdirectories and of exporting the needed header files therein.
The reason for having only Kbuild at the top is that Kbuild
and Makefile cannot exist together in same directory and Makefile
doesn't cater to uapi header installation.
stub is an empty techpackage-module which serves both as a sample
layout and satisfies the requirement of kernel build system, by
providing necessary buit-in.o, when no other techpackage-module has
been pulled under techpack/.
$KERNEL/techpack/techpackage-module should have a Makefile at the
top and Kbuild under $KERNEL/techpack/techpackage-module/include/uapi
directory. The uapi headers pertaining to a techpackage-module
should reside under $KERNEL/techpack/techpackage-module/include/uapi
and associated Kbuild should have necessary rules to export it.
Change-Id: I0d0ced38566907d2074831edde0934833f666eff
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
Signed-off-by: Imran Khan <kimran@codeaurora.org>
[satyap@codeaurora.org: fix trivial merge conflict and add SPDX-License-Identifier]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>