Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common power-libperfmgr bringup #1

Open
wants to merge 6 commits into
base: fourteen-v3
Choose a base branch
from

Commits on Jul 20, 2024

  1. common: Create dummy libqti-perfd-client

    * proprietary perfd blobs can finally be nuked without breaking goodix
    * we could even map the functions to use libperfmgr powerhints in the future
    
    [SebaUbuntu]: Cleanup Android.bp and add copyright header
    
    Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
    Lucchetto authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    a3c821b View commit details
    Browse the repository at this point in the history
  2. libqti-perfd-client: Remove namespace declaration

    It's pointless when using extern "C".
    
    Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d
    bgcngm authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    469b151 View commit details
    Browse the repository at this point in the history
  3. libqti-perfd-client: return a dummy value

    Return a positive integer for perf lock acquire and release so
    that Goodix/FPC fingerprint sensor blobs will not complain.
    
    Goodix:
    E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
    E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0
    
    FPC:
    E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
    E fpc_tac : fpc_perf_lock_release: Perf lock release error 0
    
    Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
    Change-Id: I861672e9a738c2204755d802670f4b28b662f286
    jjpprrrr authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    9c2bef5 View commit details
    Browse the repository at this point in the history
  4. libqti-perfd-client: Move to C

    * Why bothering with C++ mangling when we can just build it as a standard C library?
    
    Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d
    SebaUbuntu authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    5779574 View commit details
    Browse the repository at this point in the history
  5. libqti-perfd-client: Add Soong namespace

    This avoids conflicts with QCOM devices that are using the QTI perf
    implementation, which wouldn't want this library anyway as this one is
    a stub.
    
    Change-Id: I6258b7503bc45b8dced2022e6ff143fbe97e7c82
    lifehackerhansol authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    99b2806 View commit details
    Browse the repository at this point in the history
  6. libqti-perfd-client: Clean up

    * Add and run clang-format
    * Add newlines between functions
    * Use elvis operator `?:` for return value
    
    Change-Id: I920044df12c99d32ddd2ef3fb5edf24bcd0c7360
    luk1337 authored and rayavanindra committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    23cd78f View commit details
    Browse the repository at this point in the history