Commit Graph

34 Commits

Author SHA1 Message Date
huangyu4
01a85fed09 techpack: audio: Synchronize codes for OnePlus 8T Oxygen OS 11.0.13.13.KB05AA and OnePlus8 Oxygen OS 11.0.11.11.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.11.11.IN11AA
Change-Id: I0ac8210d8a2ba2a003d4b6f6669419fa4bdb250a
Signed-off-by: engstk <eng.stk@sapo.pt>
2022-06-13 17:43:21 +03:00
yu.huang
373013ee0d techpack: audio: Synchronize codes for OnePlus 8T Oxygen OS 11.0.8.12.KB05AA and OnePlus 8 Oxygen OS 11.0.6.6.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.6.6.IN11AA
Change-Id: Ifa3ccc96df36add0f915b815948c3f6a34678af4
Signed-off-by: engstk <eng.stk@sapo.pt>
2021-06-12 22:42:04 +03:00
f45789e378 techpack/display/msm/dsi: fixed compile errors 2021-05-20 12:26:08 +03:00
Kristof Petho
4795218025 treewide: remove some logging and debug
Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:04 +03:00
engstk
41152f8eb5 techpack: data: build rmnet drivers
also make it builtin

Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:04 +03:00
engstk
089ca5f488 techpack: data: import CAF data-kernel
for rmnet_perf and rmnet_shs

Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:04 +03:00
Adam W. Willis
f139f9fd00 techpack: audio: Silence remaining dmesg spam
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>
2021-05-20 12:26:04 +03:00
engstk
d39544a2fc techpack: audio: build fixes and cleanup
also make it builtin

Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:02 +03:00
HolyAngel
4b72d2e374 techpack: audio: Build tfa9894
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>
2021-05-20 12:26:02 +03:00
yu.huang
cc23d1890e techpack: audio: Synchronize codes for OnePlus 8T Oxygen OS 11.0.8.11.KB05AA and OnePlus 8 Oxygen OS 11.0.5.5.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.5.5.IN11AA
Change-Id: I39b9d2b363517e5d87f8714dc66a9d6775a66e25

Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:02 +03:00
kim.ba
53e3ef1482 techpack: audio: Synchronize codes for OnePlus 8 Oxygen OS 11.IN21AA and OnePlus 8 Pro Oxygen OS 11.IN11AA
Change-Id: I6b4844ac4cfe71611c681992a33c5f9cf45cb343

eng.stk: fix line endings

Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:26:01 +03:00
Kristof Petho
3fba6ab928 msm: camera: Stub out the camera_debug_util API and compile it out
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>
2021-05-20 12:25:53 +03:00
Adam W. Willis
a0ca91a087 msm: camera: utils: Demote unwanted logging to debug
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
2021-05-20 12:25:53 +03:00
Kristof Petho
92ca12d74f techpack: display: disable debug logging
Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:25:51 +03:00
LibXZR
35d71421be display: dsi: Disable logging
* Spam as fuck
* Also drop some variables that used in log
2021-05-20 12:25:49 +03:00
Danny Lin
df1ac501cc drm/msm/sde: Omit debug logging code
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>
2021-05-20 12:25:49 +03:00
Danny Lin
43fe0505f1 drm/msm/sde: Remove register write debug logging
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>
2021-05-20 12:25:49 +03:00
Kristof Petho
4e8b733e7b dsi_iris5: remove all logging 2021-05-20 12:25:49 +03:00
Kristof Petho
f050da1bb1 msm: vidc: remove vidc dmesg logspam 2021-05-20 12:25:49 +03:00
franciscofranco
0d30afd03a msm: vidc: disable debug logs 2021-05-20 12:25:48 +03:00
acuicultor
a42fee34fe techpack: display: add OnePlus 8 missing config entries
Adding CONFIG_PXLW_SOFT_IRIS=y fixes the black screen on calls for OnePlus8 devices
2021-05-20 12:25:48 +03:00
engstk
1209183fbf drivers: fix a couple oneplus derps
Signed-off-by: engstk <eng.stk@sapo.pt>
2021-05-20 12:25:48 +03:00
yu.huang
2cb46758ae Synchronize codes for OnePlus 8T Oxygen OS 11.0.8.11.KB05AA and OnePlus 8 Oxygen OS 11.0.5.5.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.5.5.IN11AA
Change-Id: Ib6789497152a88c7684cf1f80404327b8bccbd86
2021-04-28 10:40:34 +08:00
yu huang
2ee2431c39 Revert "Synchronize codes for OnePlus 9R Oxygen OS 11.2.1.1.LE28DA"
This reverts commit 5fa9472bc2.

Reason for revert: <INSERT REASONING HERE>

OP9R kernel code separate from OP8 kernel code

Change-Id: If1a8b9197a0323f9dd0929e73998e1ebe66297d6
2021-04-21 00:11:47 +08:00
yu huang
131c68be22 Revert "Synchronize codes for OnePlus 8T Oxygen OS 11.0.8.11.KB05AA and OnePlus 8 Oxygen OS 11.0.5.5.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.5.5.IN11AA"
This reverts commit d9a92ce977.

Reason for revert: <INSERT REASONING HERE>

OP9R kernel code seprate from OP8 kernel code

Change-Id: Ic8cdd1a0d6dffb0a574d92ea1f0b5aeb976deb50
2021-04-20 23:56:58 +08:00
yu.huang
d9a92ce977 Synchronize codes for OnePlus 8T Oxygen OS 11.0.8.11.KB05AA and OnePlus 8 Oxygen OS 11.0.5.5.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.5.5.IN11AA
Change-Id: I8b383af2b0b546a332c872be6c98d1cf63c48caf
2021-04-16 15:55:02 +08:00
yu.huang
5fa9472bc2 Synchronize codes for OnePlus 9R Oxygen OS 11.2.1.1.LE28DA
Change-Id: Ia840b72fd8ebd0307ccb8af720d4fb5ef3165e88
2021-03-23 16:41:29 +08:00
kim.ba
6b0c4467b1 Synchronize codes for OnePlus 8T Oxygen OS 11.0.1.2.KB05AA and OnePlus 8 Oxygen OS 11.0.1.1.IN21AA and OnePlus 8 Pro Oxygen OS 11.0.1.1.IN11AA
Change-Id: I7fc66148d0caf505b84a2e336df2ff327632660b
2020-10-22 19:41:16 +08:00
kim.ba
7d4a14372e Synchronize codes for OnePlus 8 Oxygen OS 11.IN21DA and OnePlus 8 Pro Oxygen OS 11.IN11DA
Change-Id: Ibb370715a3a3ef9eb60a3974141714e18d6925b8
2020-09-28 01:20:51 +08:00
Adam Bickett
27009ef53b Revert "techpack: replace type with xtype while searching for sub-dirs"
Support build environments where find -xtype is not supported.

This reverts commit 5081f16b3d.

Change-Id: Ibb4a9f2429bad5e0bae690f60605887f01623a16
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
2019-11-19 07:06:17 -08:00
Prakruthi Deepak Heragu
776ec744ee techpack: Kbuild: Fix to compile the techpack completely
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>
2019-11-18 18:26:04 -08:00
Satya Durga Srinivasu Prabhala
5081f16b3d techpack: replace type with xtype while searching for sub-dirs
To make sure sym links (if any) gets detected during search,
switch to xtype.

Change-Id: Idc0584b134f2ca4b395e53696e079337ff377f82
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2019-07-09 17:43:13 -07:00
Bryan Huntsman
8082260ee5 techpack: set configuration default to yes
Tech packages default configuration should be on.

Change-Id: I3cdf9276103f08db7130535aab1206a95a03b5a7
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2019-06-04 10:59:26 -07:00
Bryan Huntsman
917caa9433 techpack: add tech package support
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>
2019-03-21 10:18:12 -07:00