Commit Graph

95 Commits

Author SHA1 Message Date
Abhilash Kumar Subhash 642d20c7de Merge commit 'a308eec4e6f768e96d5c2ac662742a0ce6780ddb' into remote
Conflicts:
	device/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml
	rootdir/etc/init.qcom.rc

Change-Id: I0bf3d3bad8a8ee9f8e608ef46664dc4172fe0275
2017-07-24 19:52:30 +05:30
Linux Build Service Account 6553025ae5 Merge "power: Check for NULL before pointer dereference" 2017-07-22 13:55:29 -07:00
Ananth Raghavan Subramanian 4e1875ba60 power: Check for NULL before pointer dereference
Adding NULL pointer checks

Change-Id: I1455b20f7d93dbd17ee93e14ed225e3c0ddf9e9d
2017-07-19 20:33:03 -07:00
Linux Build Service Account ae89d758c1 Merge "Changes to handle VR state transition in power HAL" 2017-07-18 15:26:03 -07:00
Ramakrishnan Ganesh f1103a2376 power: replace strncpy with strlcpy
Replace strncpy calls with strlcpy.

Change-Id: Ib43c833802466ed9ba9df6ac8c494f6e6256a494
CRs-Fixed: 1069457
2017-07-13 11:53:28 -07:00
Abhilash Kumar Subhash fc895a297b Merge commit '6fa418fde74c6e2bb22c4d28602178efea7927b0' into remote
Conflicts:
	base.mk
	device/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml

Change-Id: Id3c174e34ea301bec6aed82f70f74f561272ea8e
2017-07-10 19:19:56 +05:30
Linux Build Service Account 20bd6e7ac8 Merge "power: Turn on/off display" 2017-07-08 10:23:26 -07:00
Sathish Ambley d91dcbd9be Changes to handle VR state transition in power HAL
Change-Id: Ieb104ca1a8d7dce3678f9d22a6e820049f70fe3d
2017-07-06 22:28:16 -07:00
Ananth Raghavan Subramanian e2d57bf882 power: Using PerfHAL API
Using the PerfHAL API to comply with Treble

Change-Id: I0ce40bbefb8c867dda8ee5eb1f948af2106e692d
2017-07-06 22:27:05 -07:00
Ananth Raghavan Subramanian b485341554 power: Turn on/off display
PowerHAL writes to a sysfs node when it gets display on/off
notification.

Change-Id: I1ec7c4afe3f4c071cc1f6dee52314137590b31b3
2017-07-05 09:59:47 -07:00
Nikhil Kumar Kansal 3b43b5d13a power: KW warning fix in power hal for sdm660
KW throws warning about possible access of an array
by out of index range. Size passed to memcpy is
properly guarded to avoid out of bound access.

Change-Id: I355573c307098498cfa988377921b4e9ea7e8c2e
2017-07-02 21:46:08 -07:00
Nikhil Kumar Kansal 0fa5c307b2 power: KW warning fix in power hal for sdm660
KW throws warning about possible access of an array
by out of index range. Size passed to memcpy is
properly guarded to avoid out of bound access.

Change-Id: I355573c307098498cfa988377921b4e9ea7e8c2e
2017-06-26 21:41:52 -07:00
Vara Prasad A V S G 27d423f0b6 Move power.qcom and librecovery_updater_msm to /vendor
Change-Id: Ifb8ab8dee48b7aa19892349a942c90fb9812811a
2017-06-11 06:13:17 +05:30
Venkataraman Nerellapalli b87b15d5b0 apq8098_latv: Initial commit for new target apq8098_latv
Change-Id: Ifb214a75e1477dfd48d1b2e9f696cac37acf6cf9
2017-05-16 04:23:58 -07:00
Nikhil Kumar Kansal b967d93d86 msm8953:power:add mutex to camera hints
add mutex to camera hints for dual camera support

Change-Id: Ia1736f9512f09cf51f0a2b74b00be5eefbb40810
2017-04-20 02:08:34 -07:00
Vara Prasad A V S G 19d8b0de33 Added HW configurations for SDM660
Change-Id: I2626945b7412f339e4db66b6d57e4bd27573cc0e
2017-04-17 19:14:27 +05:30
Linux Build Service Account 816e0ecf11 Merge "power: PowerHAL for 8998" 2017-04-04 01:10:10 -07:00
Ananth Raghavan Subramanian 6ec5e8f7fa power: PowerHAL for 8998
PowerHAL now parses xml for resource list

Change-Id: Ic5c2c1836e3b092e5cdc3827e323a2ffc816f5a3
2017-03-28 18:07:11 -07:00
Ananth Raghavan Subramanian b57b6506be power: Add open function for power module
HIDL power hal was broken due to the missing open function.
Define an open function and enable HIDL modules in makefile.

Change-Id: I8b5769916a82e4c85030dfcf7466bb911a21aaed
2017-03-21 18:22:10 -07:00
Linux Build Service Account b12889f00a Merge "power: Add mutex to camera hints" 2016-11-03 04:16:24 -07:00
Ramakrishnan Ganesh fdb987cceb power: Add mutex to camera hints
Add mutex around camera hints to take in consideration
dual camera use cases.

Change-Id: Ief8d5843893de3f6a03fb73b3ca662e818aee550
2016-10-11 16:58:29 -07:00
vanajau fc90a44899 power:msm8937: powerhal changes for feero
enabling powerhint for camera usescases in feero.

Change-Id: I481b9e28dcd9be21045e9c4acd3ffa81435860c8
2016-09-21 12:34:17 +05:30
Krishna Vanka ce5aeac585 power: correct uninitialized use of rc
Correct uninitialized use of return code

Change-Id: I3313fb499c2787b49835215b7e9e7c0cf8cdf177
2016-08-29 16:38:54 +05:30
Nikhil Kumar Kansal 1ad59729f1 power:msm8953: powerhal changes for camera preview and camera encode
powerhal changes for camera usecases

Change-Id: Ie3cdc0156ed69f193396bb8605ea07fc9777525b
2016-08-11 11:45:40 +05:30
Dilip Gudlur 30faccdfe6 power: Remove ignore_hispeed_notif tuning
Change removes ignore_hispeed_notif tuning for
camera encode use case in powerhal to avoid
perf impact.

Change-Id: Ide0e553ede122e65d25397e09bf3bd49fb4df43b
2016-07-21 11:10:10 -07:00
Dilip Gudlur 849caa8133 power: Encode optimization
Change adds bus dcvs hysteresis tuning, sample_ms
tuning and disable ignore_hispeed_notif.

Change-Id: Ifd424f11dbba9d7f3dce70bed8f5867a0d4b2e94
2016-06-30 18:13:45 -07:00
Panwar Vivek 0b7ef53620 Initial bring-up change.
Temporary change for initial bring-up

Change-Id: I41280a9cb3a50c5db604f7006458881b60180825
2016-04-27 18:01:20 +05:30
Linux Build Service Account b52b72e6a6 Merge 7a6fc164df on remote branch
Change-Id: Ie0c1e7ad1c2a2f484b3bf5c0f3f3bdf9a0c5788d
2016-04-05 02:43:52 -06:00
Anshul Verma 0a32f71b7b Initial release bring-up
Changes to bring-up tree on new release. Some permanent
and some temporary until all modules are in place.

Change-Id: I72ac646012d03f9442313d08a7879a55e789d1d3
2016-04-03 00:44:43 +05:30
Manish Kumar 026d86c20c device/qcom/common: Rename titanium to msm8953
Change-Id: I82a017afc034e516408aacd9ff885d23ff3f67b2
2016-03-11 01:26:25 +05:30
David Ng 473687056b Initial release bring-up
Numerous changes to bring-up tree on new release.  Some permanent
and some temporary until all modules are in place.

Final changes:
- re-enable JACK compilation
- supporting changes for kernel source relocation to kernel/msm-3.18
- remove camera preview hint in power HAL

Temporary:
- disable Trebuchet, Mms
- disable device overlays

Change-Id: I4ecd709ab2fdae80635e9d6f35d5251724216eb5
2016-03-07 15:26:59 -08:00
Sravan Kumar Ambapuram c8803da1a6 power: add powerHAL support for Titanium
Adding power hal support for Titanium.

Change-Id: Ifc930d2bac80a47621d9834ec523b996984a40c4
2016-02-28 15:09:37 +05:30
Linux Build Service Account 441d376c2b Merge "power: Modifying resource IDs for video encode power Hint" 2016-02-06 18:50:56 -08:00
Nikhil Kumar Kansal 74860c74c3 power: Modifying resource IDs for video encode power Hint
Modifying resource IDs for video encode power Hint in power HAL.

Change-Id: Ic418dd93d12e187e86fc88c7a2147b672dbe15fa
2016-01-29 19:08:30 +05:30
Sravan Kumar Ambapuram 3d6a32fdca power: add support for PowerHAL in Feero
powerhal is enabled for Feero

Change-Id: Ice606eb34ec175f17c69d86961889cad96c53a5f
2016-01-07 14:47:37 +05:30
Dilip Gudlur 866915f9fd power: Modify camera encode/preview hint
Change modifies Bus DCVS v2 params and CPU Hispeed
Frequency param for encode and preview.

Change-Id: I20dc1b974feb93c59c63c9256eae1c61bfe41fff
2015-11-07 14:44:34 -08:00
Dilip Gudlur 27c70759f7 power: Enable camera preview hint in powerhal
These changes add the powerhal support to detect
camera preview hint and perform power optimization
in cpu, scheduler.

Change-Id: Ibd7bd1c341a86004dc736aba6a634d6206da8564
2015-11-06 17:17:55 -08:00
Charles Bin 3741ef6c65 power: Add and update resources for encode powerHAL
Change adds an enum for bus DCVS V1 configuration for
camera encode power optimization.

Change updates existing resource opcodes to use refactored
perflock API.

Change-Id: Ib773d3789d9d3ab87de366bc8776c7501429bf6c
2015-10-08 16:23:58 -07:00
Nikhil Kumar Kansal b7ff0bdcd0 power: Modify power HAL hint for Interactive governor
Added support for disabling sched guided during video encode.

Change-Id: Ia4a75e437c61b01c9ed52d2a4f77b5889ff7ab5c
2015-08-19 09:23:11 +05:30
Sravan Kumar Ambapuram a0146f6c51 common: Changes timer rate during display off scenario.
1.Changes to set CPU0 and CPU4 interactive timer rate values
        -Display off cases:Set CPU0 and CPU4 to 50ms.
       2.Removed min freq code change due to permission restriction.

Change-Id: Ibcec0551e305137e5e465c21b61ab7db5ffcc2a3
2015-08-19 09:17:34 +05:30
Nikhil Kumar Kansal 82739ef25a common: Change minfreq to 499.2Mhz during display off scenario.
1.Changes to set CPU0 min freq for 8952 target as below:.
          Display off case :  set to  499.2Mhz
          Display on case  :  set to  960Mhz.
        2.Changes to set CPU0 and CPU4 interactive timer rate values
          Display off cases : Set cpu0 and cpu4 to 50ms.

Change-Id: I833da462ab4db033a33051ed9499ea75b13f5d9f
2015-08-19 09:06:19 +05:30
Chiou-Hao Hsu 64e54d0eab Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.356' into HEAD
* commit '6dfa44b044c858c2b5de0f0c3ca9eef28131a0c1': (27 commits)
  Add tcp buffer sizes for LTE_CA
  init.qcom.post_boot.sh: Update scheduler tunables for 8996
  tz app seemp_healthd removed
  init.qcom.post_boot: Enable low power modes for 8952
  init.qcom.usb: Add composition to support DPL with DUN over char bridge
  init.qcom.rc: FST Manager runs as user "wifi"
  init.qcom.post_boot.sh: Enable all the LPMs by default
  qcom: Add default configuration for DCC block on MSM8976
  BTLogKit: Added BTLogKit to Product Packages
  init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
  Adding and starting IOP service for 8996
  base.mk: add FST Manager to the build
  init.qcom.rc: add FST manager service
  Bluetooth: Drop Wcnss_filter to bluetooth only access
  init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
  audio_policy: disable software DRC flag
  init.qcom.rc: Seemp health Deamon
  Disable sched_boost on msm8996 at post-boot.
  Mms: Change default config options
  qcom: Add default configuration for DCC block.
  ...

Conflicts:
	rootdir/etc/init.qcom.rc

Change-Id: Ifedca1c92c67b2006f11eaa54d4fb8134fe5952c
2015-08-03 11:28:17 -07:00
Dilip Gudlur a336424ef3 power: Introduce 8996 specific handling
Enable powerhal hints for specific use case
handling like encode to help power.

Change-Id: I466f3276777407ad28d7f0cffc306bbaec86a99f
2015-07-08 18:19:37 -07:00
Ajay Dudani feb7fd54db Drop frameworks dependency & declare/define functions before use.
Change-Id: Ic9f1870bfbb1b719d0c78c45813b05cc882f00cf
2015-04-22 15:03:25 -07:00
Dilip Gudlur 8de574b286 power: update powerhal to remove deprecated calls
Updates powerhal hint to avoid calling deprecated nodes.

Change-Id: Id0fe83d375e9867d1806f1ee5b86d2b521d0bba4
2015-01-08 20:26:48 -08:00
Linux Build Service Account 230424d0d7 Merge "power: Introduce specific handling for encode use case" 2014-11-12 09:49:36 -08:00
Linux Build Service Account a4d538c47c Merge "power: introduce 8994-specific handling" 2014-11-12 09:49:36 -08:00
Dilip Gudlur 1352facd49 power: Introduce specific handling for encode use case
Adds ability to modify cpufreq/sched params for encode use case
specific to 8994.

Change-Id: I96b8b7e4246eaf870a4f8b6b947a2b24af1a515c
2014-11-10 16:30:29 -08:00
Dilip Gudlur 6306bb4dc1 power: introduce 8994-specific handling
Creates framework for handling special cases like
display off, video encode differently for 8994.

Change-Id: Ib4c2cf1d6b4a615d70c92a9f54665e2ba0895adb
2014-11-10 12:52:14 -08:00
Vince Leung b103dd8d6a common: update enum value for disabling PC
Update enum value used to disable PC via PerfLock

Change-Id: I14cb3292b94db90d592905fb344c942e7d61c4f8
2014-10-29 17:40:13 -07:00