Commit Graph

56 Commits

Author SHA1 Message Date
neetsing
aa7e5244c9 Power: Tuned scheduler for 480FPS use-case
Issue :
In R Upgrade task load is less comparative
to Q OS for HFR480 case, due to which frequency
is not scaling up.

Fix:
Changed min freq to 1.3GHz for silver
and changes sched_prefer_spread to 1.

CRs-Fixed: 2719017
2020-08-12 19:40:31 +05:30
Shayak Biswas
23b1013d13 Power : Modified make file to include Bengal
Addition of powerhint.xml for the product Bengal

Change-Id: If389dedd70bb76e08a842775350eda091ce7cddf
2020-08-10 06:37:44 -07:00
Deevana Murthy Bandaru
0242b3df68 power: update power hint data for lagoon
Updated camera tuning values and update the resource values.

Change-Id: I53b8397f55316cf2664e288bc5676fd8c3097af4
2020-08-10 04:27:09 -07:00
Deevana Murthy Bandaru
67c94d70ec Power: Updating camera settings
Added 864Mhz as min CPU freqency

Change-Id: Iadd738e7da6e3f4ceccd0e8745e49b8937a5f640
2020-07-30 04:44:15 -07:00
Shayak Biswas
33ccecb3e4 power : Modified make file to include Talos
Addition of powerhint.xml for the product Talos

Change-Id: I65c86aa5e3af8ee7d10266d0cb3a46b0a8cf8229
2020-07-27 20:51:00 +05:30
Rajeswari N
72bc80ff55 power: Add supported modes
Added supported modes in impl

Change-Id: I57a5df42e813f1b6af59f9edf37e47fdac400dee
2020-07-22 11:01:52 +05:30
Rajeswari N
642b1de850 power: Added copyrights info in xml
Added copyrights and year in files

Change-Id: Id1669ebb81845130da57c5c016d7f8bae5b2108a
2020-07-14 15:45:08 +05:30
Linux Build Service Account
5386aa038c Merge "power : opcode for sample_ms" into power.lnx.3.0 2020-07-13 22:37:52 -07:00
neetsing
4fd2e5a3c0 Power: Up/down scheduler Tuning for 480FPS use-case
Issue :
In R Upgrade task load is less comparative
to Q OS for HFR480 case, due to which task
are not moving Gold causing FPS drop Issue.

Fix:
Tuned up/down scheduler parameter from 30/20
to 20/10 for  480FPS case.

CRs-Fixed: 2694498

Change-Id: Ib2c80d0d9caa47b9855903a4a0a73dd7e55335ed
2020-07-07 23:57:58 -07:00
Shayak Biswas
1c2cb21ffd power : opcode for sample_ms
Change in opcode for sample_ms

Change-Id: I35570b0db92ad1858195897cd2de9ba56481d097
2020-07-07 12:54:48 +05:30
Rajeswari N
dbf22f7b1a power: conversion from hidl to aidl
Added aidl specific changes

Change-Id: Iaba27ba991db960b8e0721047910de4da1c20934
2020-07-05 22:16:44 +05:30
Ananth Raghavan Subramanian
9407a03e0e Add power hints for FHD480 and HD960 2019-11-22 11:57:36 -08:00
Linux Build Service Account
db094d9d99 Merge "power: Adding platform check for trinket" into power.lnx.2.0 2019-11-15 01:10:08 -08:00
Rajashekar Adi
9c9abedbbd power: add core ctl and io power changes to powerhal
make core ctl min cpus as 6 and io percent as 100

Change-Id: Ie74ef07db3245feebea077380c08a5c3adf9b07f
2019-11-12 14:58:51 +05:30
Deevana Murthy Bandaru
7fbb2c337c power: Adding platform check for trinket
Adding platform check for trinket.

Change-Id: Ieea9dfbd7c56f5afd0b9c0c2bf41a52fd3601eff
2019-11-08 01:39:06 +05:30
rbandi
311478422b power: Add powerhints for QVR use-cases
Add powerhints for QVR performance module.

Change-Id: I942894a6b700f99b4c08af920ef8fb1d438d7562
2019-11-06 11:26:14 -08:00
Rajashekar Adi
445d0661a7 Power: update powerhal settings
Add new use ab tunable to powerhal

Change-Id: Ife50f76c44370b27612d8e4b5f766635f8fab138
2019-10-31 14:45:44 +05:30
Deevana Murthy Bandaru
c7f54f5385 power: Fixing broken condition
Fixing broken condition in make file

Change-Id: I109cb4090aabd83a1512307f18bc397fb7dc9a67
2019-09-27 19:19:15 +05:30
Linux Build Service Account
0f4b56b12f Merge changes I5078c08f,If1f1f0fe into power.lnx.2.0
* changes:
  power: selecting power hal version
  Power: Porting powerhal support
2019-09-24 01:11:37 -07:00
Sumit Gemini
835497b02b power : Modified APC freqency of lito for R2
Added APC freqncy accordingly R2 plan

Change-Id: I021ec85e2f155bb6ad1679894a964e40348349d6
2019-09-23 17:19:09 +05:30
Rajashekar Adi
b3c6ef88ef Power:Add powerhints to camera and VR
Add powerhint support for atoll

Change-Id: I7dd1ce7eba459e80ad08f0b97390cc265e0908fa
2019-09-19 13:49:12 +05:30
Deevana Murthy Bandaru
8575f55bd8 power: selecting power hal version
Conditionally selecting power hal version

Change-Id: I5078c08f209a5e93a352d77a5a52cf92064440c1
2019-09-14 22:47:00 +05:30
Deevana Murthy Bandaru
006555fdb3 Power: Porting powerhal support
Porting powerhal support to Android Q products

Change-Id: If1f1f0fed9f4138c807add639690ded090d44853
2019-09-13 12:00:27 +05:30
Ananth Raghavan Subramanian
8a27eca3b2 powerhint: Add hints for 30/60 FPS encode
Change-Id: I5b897768a51c2cb9c6f6eb127b12c704b5937d73
2019-09-09 11:15:08 -07:00
Sumit Gemini
99b75f8193 power: Add config and makefiles
Added product makefiles. Moved powerhint XMLs to this project.

Change-Id: Icd0d1e46d0d9793197eb2e5fb5b65c06a5858647
2019-09-03 13:34:00 +05:30
Jay Wang
9cc3a22375 power: Add powerhint for 480FPS use-case
Add powerhint for video encoding @ 480FPS

CRs-Fixed: 2449387

Change-Id: I092c57e2964d5079ed295207b666d98a0b9b306f
2019-07-16 22:24:03 -07:00
Linux Build Service Account
52e7331bd7 Merge "power: Add config and makefiles" into power.lnx.2.0 2019-05-30 12:10:21 -07:00
Linux Build Service Account
77f5afa425 Merge "power: Introducing PowerHAL binderized service" into power.lnx.2.0 2019-05-30 12:10:21 -07:00
Ananth Raghavan Subramanian
2731f95e03 power: Modify definitions of Perf client calls
Now conforms to the exact definition in the shared perf library

Change-Id: I6f92140b42800072283c2f3a52e6814fc0f1d5d2
2019-05-28 11:47:11 -07:00
Ananth Raghavan Subramanian
91ecb15186 power: Add config and makefiles
Added product and board makefiles. Moved powerhint XMLs to this project.

Change-Id: I3d36f29f69f09166f84d2e42a6480cb590b04d2d
2019-05-20 15:19:19 -07:00
Ananth Raghavan Subramanian
d39ec577a6 power: Introducing PowerHAL binderized service
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.

Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
2019-01-17 16:15:04 -08:00
Ananth Raghavan Subramanian
561cffcbfa Clean up code and add generic hint handling
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.

Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
2018-12-18 17:04:32 -08:00
Nikhil Kumar Kansal
6192115442 power: qcom: powerHal for sdm455
Power hal changes for sdm455

Change-Id: I14923ff92c27b442a5e2a87978b592d3cd766785
2018-10-16 14:28:43 +05:30
Linux Build Service Account
0ccc0c4145 Merge "vendor: qcom: powerHal for sdm632" 2018-08-25 09:05:44 -07:00
Linux Build Service Account
cf97eb82c1 Merge "Power: Naming convention change" 2018-08-22 10:14:39 -07:00
Deevana Murthy Bandaru
48bb283d4b vendor: qcom: powerHal for sdm632
This is power hal for sdm632 used for camera cases

Change-Id: I9ae230993f6e7cb63b317cc26e5f64e2287d9672
2018-08-20 16:51:52 +05:30
Ananth Raghavan Subramanian
11ff7dc0e7 Power: Naming convention change
Change-Id: Ie0437a9020059f639cfb729ba292254523278672
2018-08-17 15:57:43 -07:00
Deevana Murthy Bandaru
9ff55b3b4c power: qcom: powerHal for sdm439 and sdm429
Power hal changes for camera encode

Change-Id: Ib909844aea854ebffe8a00d83af9ca2d81c4f827
2018-08-16 19:06:59 +05:30
Deevana Murthy Bandaru
c6a9d5fa38 power: Turn on/off display in SDM439
PowerHAL writes to a sysfs node when it gets display on/off
notification.

Change-Id: I90acbef41cc01d7712cbb23765f3d278cb3ee637
2018-07-24 15:31:10 +05:30
Naveen Kumar
a0a371993e VNDK: Added required libs
Change-Id: Ic2c82d5d734df00c15f628737253dde5d5a0bc4c
2018-07-02 20:08:35 -07:00
Linux Build Service Account
bfff67401f Merge "VNDK: Added required headers for 8998 target" 2018-06-29 07:45:32 -07:00
Bharat Pawar
2cda3f7820 VNDK: Added required headers for 8998 target
Change-Id: I7e2143b4c29ba9f0e4fc8ddbe1d700a2b17d513a
2018-06-28 19:25:35 +05:30
Bhavana Prabhakar
f8ba14b526 Power: Fixing the header inclusion for VNDK.
Change-Id: I41387b2c0cff847e65ba56f7adb9a0459e41f464
2018-06-22 11:20:24 -07:00
Linux Build Service Account
7634a11417 Merge "VNDK: Added required libs" into qcom-devices.lnx.4.0 2018-06-18 03:43:13 -07:00
Vara Prasad A V S G
22f9da37bd VNDK: Added required libs
Change-Id: I445c8a096b91d79a629beeca12234ca0d3aaa200
2018-06-12 16:51:26 +05:30
Anurudh Kumar Tiwari
bda8483324 sdm710 : fixed VNDK compilation for warlock
Change-Id: Ic095cf2aeec77b914dff6966c0cff66124f7a146
2018-06-12 10:42:35 +05:30
David Ng
03e283993d Unconditionally include this project and create header library
Create qti_powerhal_headers library from include files and
permanently relocate power HAL from device/qcom/common
for all targets.

Change-Id: I379fde83cebf9d077b77fccf195345c4fe1c2d71
2018-06-04 16:00:03 -07:00
vhunac
ba74c442d4 power: Turn on/off display
PowerHAL writes to a sysfs node when it gets display on/off
notification.

Change-Id: I8c3437908f992aec23336ea104c6ac091a961205
2018-06-04 15:14:56 -07:00
Bhargav Upperla
472e576c9f Add touch boost override
Similar to 1.3Ghz kernel touch boost.
Automated tests inject input events directly
to the android input interface via 'input tap' etc.

Boost that a user will normally experience will
not trigger since automation bypasses the input
driver framework.

Add similar boost in powerHAL layer to
help boost android-level injected input or
INTERACTION events.

Change-Id: I948e22afddb9cc9dd6e0ee203938b325a6f6d15e
2018-06-04 15:14:13 -07:00
Rajashekar Adi
6d0ed950d1 power: Fix for VNDK compliance issue
VNDK flag enablement for P upgrade

Change-Id: I033c3d9c8a1ee1e7f52a6398ae989becd66d161e
2018-06-04 15:12:52 -07:00