Age | Commit message (Collapse) | Author |
|
In the context of the TDDI project, the vendor driver
will handle wake-up gestures without requiring a prior
request for an IRQ wakelock. This situation may potentially
lead to a race condition of input_process() between the
release_all_fingers() and the irq_thread_fn(). The changes
is to keep IRQ wakelock logic to avoid the race between.
Bug: 298137746
Test: verify wake-up gesture.
Test: keeps persistent fingers to reproduce issue along
with suspend and resume.
Change-Id: I358f386fe6a428b07158c09f447dcab030ea9127
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Use differerent mutex lock for heatmap protection and frame reserving.
Bug: 299220425
Test: Cannot reproduce the issue.
Change-Id: If65b7981307f6bbeb4f491bed7cc3f1b8fb60ab6
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
(cherry picked from commit f64ddf4ab6423810776918c6c40e6cda8c3c06ad)
|
|
Test: TH build pass.
Bug: 284790341
Change-Id: I566a5b1219609befea9f3fdf20fe5e95d4765e81
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 283181865
Test: check the touch functionality during suspend and resume.
Change-Id: I1b33e616d536e194894510c6bedc0d070a7ea0c2
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Add IRQ wake lock to avoid the suspending process before IRQ
handler finishes.
Bug: 281463326
Test: Put fingers on the screen and suspend/resume the device.
Change-Id: Id98013ac1d87deebd3d5028113946cfda3b7171e
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
|
|
Bug: 278972191
Change-Id: Ib743a289289a59a031699a951b65cc987c8bf32b
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 277236770
Change-Id: I0ea2f2c78469ec60c6b4a0a12d1c5ad14550f00a
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Change-Id: I7d71ff1eb648b32d7b68e54f8c52111e8662185a
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 266093523
Test: Check mock mode works properly
Change-Id: I2ae3ba4a91882d93f8f657f483b7829310ef12a3
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 272408020
Change-Id: I6c6300189782ceef4f9a7897e669abd6f72b385d
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Subscribe GTI to update notifications from the power_supply interface.
Updates are filtered to identify when the USB power supply is attached
as it significantly increases the phone's grounding relative to the
touch sensor. The charger status is routed out through touch_offload
driver status.
Bug: 265278190
Change-Id: I019f45f69bddfc2771df2eff71155e8d0bd857d2
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
|
|
Bug: 273826479
Change-Id: I820d169026d8880386c1a86ef17ce6d907ba4e0f
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
1. Update the display status instead of pm_state to touch_offload.
2. Only update the frame if active slot(s) update or slot(s)
state change or resetting frame data.
Bug: 265870152
Test: Run example algorithm.
Change-Id: I1d3bc0a1b768a564e63a05464b6464c7aa11a84c
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
|
|
SBMerger: 478053055
Change-Id: Ic9e3906ef3f7edd186f8ecd50ab0a9381482bac9
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 269173418
Test: Check touch_offload_cleanup works fine
Change-Id: If5a76c3620cc05fd3896033bbdae8bd0c848925e
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 269560488
Test: Check fw_coord_filter works properly
Change-Id: I7fc4113a2ecf100d786c0dff856e9334c584fc84
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
- Added capabilities for coordinate filter
Bug: 269560488
Test: check coordinate filter works properly
Change-Id: I215541854e0248b72ad9e005a571d3e29df67ffb
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 242559052
Test: check kernel logs.
Change-Id: Idbbe3cd2ddbf6ed07d4b3c0eabda85264a6eb7ad
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
|
|
Update the screen state when the driver suspend no matter there
is finger on the screen or not. Also restore the driver status
every time the offload is enabled.
Bug: 271200380
Test: adb shell twoshay -s
Change-Id: I45e0dba6b8f58dce375387d15cd2fe5b8e83833a
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
|
|
SBMerger: 478053055
Change-Id: If4fd49d427561272170d506b26d7fc3e6f162b90
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Remove ignore_screenoff_heatmap because the use case is covered by
pm.state and pm.lock.
Bug: 242559052
Test: build pass.
Change-Id: I8fbb1c98caf4c310f4e6dfcb74eecd0bc0aefb87
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Use proc command to read touch rawdata instead of sysfs command.
Bug: 242559052
Test: build pass.
Change-Id: I8c14cbf7b497960034a24d3fbb865b28a289ec79
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Bug: 244371891
Change-Id: Iceba50d04b6a7af72e035c3b7b9601ee9c33cf3f
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 244371891
Change-Id: Iceba50d04b6a7af72e035c3b7b9601ee9c33cf3f
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 244371891
Change-Id: Iceba50d04b6a7af72e035c3b7b9601ee9c33cf3f
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Update the driver context for touch_offload and clear after the data
was populated.
Bug: 265870152
Test: build pass.
Change-Id: I2730c6e74b6574d23faeed9493ec5dc1d54d4500
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Bug: 265870152
Test: build pass.
Change-Id: Iea647f07bb6b71647e5c149bdc9d4f8becf1eddb
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
The goodix driver read heatmap in vendor_irq_thread_fn. We need to
protect it as well.
Bug: 262053705
Test: check heatmap works properly
Change-Id: I2d5d285634c34da6dd82993b6ca1dc255d72cf5b
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Fixed build breaks and merge conflicts.
Change-Id: I7ab1f1889e6566c94a4d7fcf2431e33280c89cdc
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Fully define the dependencies for kleaf. This helps with determining
which modules to rebuild based on changes made.
In addition, it fixes these warnings:
WARNING: modpost: "aoc_tbn_service_read" [.../touch_bus_negotiator.ko] undefined!
WARNING: modpost: "aoc_tbn_service_write" [.../touch_bus_negotiator.ko] undefined!
WARNING: modpost: "aoc_tbn_service_ready" [.../touch_bus_negotiator.ko] undefined!
Change-Id: I8fffc31848a33d4a8915cd6dfeb786e24c183f5c
Signed-off-by: Will McVicker <willmcvicker@google.com>
|
|
SBMerger: 478053055
Change-Id: I790a50c83a5772f2aad9ed1f1291907e15fe64d4
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: Ie4cb9d5c1baa014429a45d1a39976c430688f667
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 177329320
Test: TBN works properly
Change-Id: Ic1937feead923d6ba121d977a4d012040f52d6e6
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 263981627
Test: touch works properly when tbn is disabled
Change-Id: I59f320cfc2b409d988197df3212f99cf90b2f08f
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
d6634b1c1094c528d342fc690af53482ce77bcad
Change-Id: I13b1b0cf6fe7c1b7d01caab4a142e79c32bc91b0
|
|
SBMerger: 478053055
Change-Id: I6b69b23e139cb323dc7e6a757fd0fac26ca5f319
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I62aad251bb6d0949b47987957c8343d08b427365
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Revert submission 2355036-tbn-aoc-channel
Reason for revert: <unblock b/263981627>
Reverted changes: /q/submissionid:2355036-tbn-aoc-channel
Change-Id: I9b4eb5c1687048366a45713338a3f533f1dab48b
|
|
Bug: 263444046
Change-Id: If852d8ca661db78712e44bb8305537ddf415688b
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Introduce proc to resolve the sysfs PAGE_SIZE limitation.
Bug: 262796907
Change-Id: I2c2c12f8360fc46895416efd7d94d5e1e7570546
Signed-off-by: Super Liu <supercjliu@google.com>
(cherry picked from commit 23cdd7fcb0f9eddab00a081064c0df6cc8ca2db0)
|
|
Bug: 262796907
Change-Id: I23470887a3f06df17f496ef8c68c3571a158f1ec
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
SBMerger: 478053055
Change-Id: I4dc01b1065bcad695baf3615f874ca33f5d0d6f1
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 262796907
Change-Id: I23470887a3f06df17f496ef8c68c3571a158f1ec
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 256086224
Test: build pass.
Change-Id: I5a82da2a6bf1d3052abf4ace3cb6d2fc65656b75
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
We need to include the AOC headers as part of the touch sources.
Bug: 177329320
Change-Id: I12badc052bad3ce9c630bb4fefc9ba506da8bfe0
Signed-off-by: Will McVicker <willmcvicker@google.com>
|
|
To allow for this project to be shared by multiple devices, let's switch
to generic labels for the kernel_build, SoC module, and SoC headers. The
flags are defined by the specific flags in their top-level bazel build
file.
Bug: 257343887
Change-Id: I453451d70ced99da44822b7c8a95f4c78b9138a2
Signed-off-by: Will McVicker <willmcvicker@google.com>
|
|
The GPIO may be invalid when this module loads before pinctrl module
so return EPROBE_DEFER for retry.
Bug: 263205231
Test: no kernel panic
Change-Id: Ibe4910ce2015ab464faf3ee35b4fb06524a6512a
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
The GPIO may be invalid when this module loads before pinctrl module
so return EPROBE_DEFER for retry.
Bug: 263205231
Test: no kernel panic
Change-Id: Ibe4910ce2015ab464faf3ee35b4fb06524a6512a
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Introduce proc to resolve the sysfs PAGE_SIZE limitation.
Bug: 262796907
Change-Id: I2c2c12f8360fc46895416efd7d94d5e1e7570546
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 177329320
Test: Wakeup gesture works properly
Change-Id: I233c4c89a985b9279a0833c734c834a262eabe22
Signed-off-by: Wendly Li <wendlyli@google.com>
|