Commit graph

7 commits

Author SHA1 Message Date
TheKit
f13e1f4e3e Import F(x)tec Pro1-X BSP kernel changes as of 2022-06-01 2022-06-13 23:51:22 +03:00
TheKit
1d86f7ae7b Import Pro1-X kernel source code 2022-03-20 00:13:44 +01:00
Sultan Alsawaf
4b2b333bbb
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.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: I1711e1e815e7c5abebdf888b752823bded926ebd
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 17:15:45 +02:00
Demon000
a0c345114f
techpack: camera: Fix memory leak.
* CAF never deattaches the DMA buffer, creating a memory leak
   every time this function is run. This issue becomes increasingly
   problematic as it's run a metric ton every time camera is open,
   which on Coral is pretty much every time you unlock the phone
   and often while you run it too. Fix it by unmaping and detaching
   the dma buffer.

Reported-by: celtare21 <celtare21@gmail.com>
Change-Id: Id21b7d8c77b24ad3c198f46a68f1408c5bd9f104
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 16:09:13 +02:00
Carlos Jimenez (JavaShin-X)
23e50e4f8e
techpack: camera: Partial revert of CAF changes
Signed-off-by: Carlos Jimenez (JavaShin-X) <javashin1986@gmail.com>
Change-Id: Ieff764e5f3200b19276286941b27b2b0b9af4a6f
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 16:09:12 +02:00
Carlos Jimenez (JavaShin-X)
08eb1f0286
techpack: camera : fix build after ALS merge
error return type defaults to 'int'

Signed-off-by: Carlos Jimenez(JavaShin-X)<javashin1986@gmail.com>
Change-Id: I134153e945af4d70ab679af062a35e2b6e0f75ea
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 16:09:12 +02:00
Gagan Malvi
6808bddb1d
techpack/camera: Initial merge from LA.UM.9.15.r1-02000-KAMORTA.0
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2021-08-21 15:51:03 +02:00