Commit Graph

1661 Commits

Author SHA1 Message Date
Naseer Ahmed f2b345ceea init: Add permissions for CEC nodes
Change-Id: I220fd52e33690ee6d4de39f121464571c7ce91e0
2015-11-06 04:58:40 +00:00
Naseer Ahmed 423dac5ea8 init_msm: S3D mode permissions
Allow HWC write permissions on this node.

Change-Id: I732c2003f1130f9ebefb17e0fcd0f14044dc24f9
2015-11-06 04:58:40 +00:00
Tatenda Chipeperekwa de541be681 init: Add persmissions to access res_info node for HDMI timing info
The HDMI driver now provides timing information through the res_info
sysfs node. The display HAL will need permissions to read/write this
node as part of HDMI initialization.

Change-Id: I2d767534a877368f55d614118676edb5f4f90b9e
2015-11-06 04:58:40 +00:00
Dilip Gudlur 9caa82e608 power: Enable 4+0 core config for display off cases
This change enables 4+0 core config for display off
sceanrios and in display off scenario system should
go back to default core config.

Change-Id: I57795988e7e0f1b2c1e160e2e454549a14bbde50
2015-10-11 21:06:47 +00:00
Dilip Gudlur 9d329156cc power: introduce 8992-specific handling
Creates framework for handling special cases like
display off, video encode differently for 8992.

Change-Id: I195a96f0787c0d2dc2696c75a6f281774e2345cb
2015-10-11 21:06:46 +00:00
Dilip Gudlur 31d31b2a3b power: modify return value for display off hint in 8994
This change bypasses execution of deprecated
code path in the power.c for dispaly off hint.

Change-Id: I3e6f5d2f5a9f1d55015149a0f7abc3c3f1f445e1
2015-10-11 21:06:46 +00:00
Dilip Gudlur 26681ee223 power: update powerhal to remove deprecated calls
Updates powerhal hint to avoid calling deprecated nodes.

Change-Id: Id0fe83d375e9867d1806f1ee5b86d2b521d0bba4
2015-10-11 21:06:33 +00:00
Dilip Gudlur ef58944c09 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
2015-10-11 21:05:43 +00:00
Dilip Gudlur 7e7217c69f power: introduce 8994-specific handling
Creates framework for handling special cases like
display off, video encode differently for 8994.

Change-Id: Ib4c2cf1d6b4a615d70c92a9f54665e2ba0895adb
2015-10-11 21:05:21 +00:00
Nikhil Kumar Kansal e7e2674364 common: Fix to handle min freq changes when CPU cores hotplugged.
Finds which CPU cores is online and does following below
            1.Gets scaling governor
            2.Sets scaling min freq

Change-Id: I209a6228294c945e943ff285ac8f38b7f97337d6
2015-10-11 20:23:22 +00:00
Nikhil Kumar Kansal 242a2aa6ac power: Modifying resource IDs for video encode power Hint
Modifying resource IDs for video encode power Hint in power HAL

Change-Id: I9dcce251ef62c1618169e5b6e92cc1bcebae9836
2015-10-11 20:23:22 +00:00
vaibhav bhalla 9fd3410d1b power: Change timer rate to 40ms for video encode
This change is specific to 8952, 8956 and 8976 targets.
This is to reduce CPU scaling in encoding case.

Change-Id: I72627311e1b60aeb29c6b83883932994ca75e53d
2015-10-11 20:23:22 +00:00
Nikhil Kumar Kansal 1c58bd0a02 power: Modify power HAL hint for Interactive governor
Added support for disabling sched guided during video encode.

Change-Id: Ia4a75e437c61b01c9ed52d2a4f77b5889ff7ab5c
2015-10-11 20:23:22 +00:00
Sravan Kumar Ambapuram 546053a9ba 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-10-11 20:23:22 +00:00
Nikhil Kumar Kansal dc9f759ebb 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: I4a16e37191431f7299791696ab91c12f758c500c
2015-10-11 20:23:22 +00:00
vaibhav bhalla c7efec1e1e common: Change the Hi-Speed freq to 800Mhz for camcorder case
Changes to set Hi-Speed freq for 8909  target as below:
         -Camcorder ON  : set to  800Mhz
         -Camcorder OFF : set to  998.4Mhz.

Change-Id: I8e4ca512c137a137fabe7762695e336a3ed37fdd
2015-10-11 20:23:22 +00:00
vaibhav bhalla 68cc660bfd common: Changed the minfreq to 400Mhz for display off scenario.
1. Changes to set CPU0 min freq for 8939 target as below:
        Display off case :  set to  400Mhz
        Display on case  :  set to  960Mhz.

Conflicts:
	power/Android.mk

Change-Id: Ie8cf31484e70f83594778c899485910b9ff2578e
2015-10-11 20:23:22 +00:00
vaibhav bhalla 934c67fba7 power: override encode hint for 8909
Default encode hint was setting hispeed_freq to 1.1GHZ
This is not needed for 8909 hence overrode that.

Change-Id: I4c3695dbe82d43ebb34732559043b59815f7d49d
2015-10-11 20:23:21 +00:00
Dilip Gudlur 5f2ac4f106 power: Add apq8084 specific changes
Added compilation flag for power-8084.c in
makefile and detection of apq8084 soc id in
power.c.

Change-Id: I00e8e18f6de4ee7b38269e4bf565954db46148c5
2015-10-11 20:23:21 +00:00
Pracheer 585f306500 common: update enum value for sched perflocks
Update enum value for changing migrate cost and
prefer idle via perflock.

Change-Id: I66854af0d63647619c98cad89515b503a10cd02d
2015-10-11 20:23:21 +00:00
Pracheer ba92207c32 power: add sched boost enum.
Add enum for enabling sched boost and
core 4-8 in perflock

Change-Id: I049c44d18045d9ab2dce7a96cf73207357e63a18
2015-10-11 20:23:21 +00:00
Vince Leung 35332fc946 common: add sched boost enum
Add enum for enabling sched boost in PerfLock

Change-Id: I252953c79a5194f75384140c20dd413e7518c14e
2015-10-11 20:23:21 +00:00
Shashank Mittal f942f7afc9 Power: Fix module path
Use LOCAL_MODULE_RELATIVE_PATH for 64bit compilation.

Change-Id: I27a437e8e63ffdadb699d5324d223537675e38e3
2015-10-11 20:23:05 +00:00
Jake Weinstein 28b5cf240b common: move generate_extra_images script to build/tasks
* This way, the Android build system automatically inherits it.

Change-Id: Icdb9077cae012314de5dd7c6a8df88416e8c0d8b
2015-10-11 20:21:47 +00:00
Jake Weinstein 157b56fb51 common: remove stuff that either belongs in device or doesn't belong at all.
* Note: cryptfs_hw was removed so that devices can use their own.

Change-Id: I6f83ceb7b32a0f578ecdd1a9ad0b92211deace6b
2015-10-11 20:20:17 +00:00
Pradosh Das 54d08e1cd9 common.mk: Set ro.adb.secure property on user build
Fix CTS failure(UsbDebuggingTest).The test expects
the property value set to 1 for secure
adb debugging.

Change-Id: I801fc2986975ddb262b8ac133370d54dca45a050
CRs-Fixed: 829570
2015-06-18 19:10:48 +05:30
Paras Nagda a8d5474cea media - use google low end video media codec xml
- CTS testGoogVP8FlexNearMaxMax testcase will execute decoding
  and encoding in parallel with max resolution 2048x2048.

- low end chipsets does not support the above max resolution
  so use low end media codec xml which has max resolution 1280x1280.

Change-Id: Idc153ad182262cccd36711f20caa5143a30c3f32
2015-04-24 11:51:03 +05:30
Linux Build Service Account aa1dac5ed3 Merge "init.qcom.post_boot.sh: Change path to notify_on_migrate" 2015-04-08 22:13:51 -07:00
Raghavendra Prasad Nagaraj 413e857760 init.qcom.post_boot.sh: Change path to notify_on_migrate
Change /dev/cpuctl/apps/ to /dev/cpuctl/
in post boot file.

CRs-fixed: 814955 814956

Change-Id: If05150e9feeff70a76491d84bdb599b64c4b0875
2015-04-08 09:43:16 +05:30
Linux Build Service Account 369a49d21d Merge "Bluetooth: Enable vendor specific BLE code" 2015-03-30 08:55:13 -07:00
Satish kumar sugasi 9ffa3e03dc Bluetooth: Enable vendor specific BLE code
This adds config flag to enable BLE vendor specific features

Change-Id: I45ad68edd66f7e2f954746db3a0bff9a8df08d73
2015-03-26 23:01:05 +05:30
Suresh Koleti 656eb3d9d6 IMS: Add overlay config flags for VoLTE and VT configurations.
In lmr1 config flags for VoLTE and VT are separated.
Adding overlay config flags to enable VoLTE and VT configurations.

Change-Id: I567b442cc0fc7d6ae9d6115539edd18c3981008f
2015-03-15 19:54:44 +05:30
Linux Build Service Account f321285383 Merge "Send startRIDL.sh command to background" 2015-03-12 08:53:02 -07:00
Anh Nguyen 30f29086b0 Send startRIDL.sh command to background
Prevent init script from hanging, send to background instead

Change-Id: Ibec842004864bed7e72564a9788888cc29b324d8
2015-03-06 16:11:03 -08:00
Linux Build Service Account 743526a800 Merge "Auto-start RIDL/LogKit II" 2015-02-27 07:04:53 -08:00
Anh Nguyen 0fcaf5be91 Auto-start RIDL/LogKit II
Update for Transparent RIDL

Change-Id: I40a51be6901a4b132ecf5bda284e346837ab5ace
2015-02-26 11:46:13 -08:00
Linux Build Service Account caca611b92 Merge "ATFWD: Stop atfwd daemon based on radio.atfwd.start" 2015-02-25 08:40:42 -08:00
Garik Badalyan c81afbaaf6 ATFWD: Stop atfwd daemon based on radio.atfwd.start
radio.atfwd.start is used by atfwd daemon to stop itself
when an error is detected.

Stop atfwd daemon based on radio.atfwd.start

Change-Id: I47318c7347d0fd13890595873db4a6c2e537b6f2
CRs-Fixed: 780613
2015-02-22 13:40:44 -08:00
bait_dispatcher_monitor_system c2f331c4ab Merge "Auto-start RIDL/LogKit II" 2015-02-19 13:46:46 -08:00
Linux Build Service Account 803d81354c Merge "Change qcom-usb-sh from core class to main class" 2015-02-18 15:12:19 -08:00
Anh Nguyen 7a82b91f25 Auto-start RIDL/LogKit II
Support for selinux and launching RIDL/LogKit II

Change-Id: Ib1d579d2da6d04dea412e71d0adf970629ea2601
2015-02-11 09:01:40 -08:00
Linux Build Service Account 06186a2d52 Merge "init.qcom.rc: update irsc_util to not use logwrapper" 2015-02-08 01:28:48 -08:00
Linux Build Service Account 8b71008116 Merge "cryptfs_hw: Add support for wipe_key routine" 2015-02-07 10:46:31 -08:00
Ravi Kumar Siddojigari dfd4454512 init.qcom.rc: update irsc_util to not use logwrapper
Logwrapper does not have security domain defined.
Using it causes a misleading warning for irsc_util.

CRs-Fixed: 780042
Change-Id: I7595b0d96f5b2ec8696f67ab024c0f1ce54d249f
2015-02-06 08:39:23 -08:00
Linux Build Service Account 515f530897 Merge "device: common: change the user permission to access sdcard" 2015-02-02 07:48:26 -08:00
Katish Paran 5174d90183 device: common: change the user permission to access sdcard
Change the user permission to enable diag_mdlog from
diag_mdlog_start and diag_mdlog_stop service to access /sdcard.

Change-Id: Icb65a72d886928572de9af0b3656820d819a1cb8
2015-02-01 21:49:56 -08:00
Linux Build Service Account 8e51549813 Merge "init.qcom.rc: Assign system_health_monitor device ownership" 2015-01-27 11:00:58 -08:00
AnilKumar Chimata 81337b0d19 cryptfs_hw: Add support for wipe_key routine
Add support for wipe_key routine to clean key.

Change-Id: I9e258e1506d0634c4fc5b5142475005f6eb51c4e
2015-01-21 14:21:32 +05:30
Linux Build Service Account e3170431d9 Merge "init.qcom.rc: Create a directory" 2015-01-19 14:49:49 -08:00
Samir Mehta 5aeaa1796e init.qcom.rc: Create a directory
Create a new drm directory in persist
for IFR failures reported for ISDBTmm tests

Change-Id: I299b49856c05e56ae4910c96911a85a8cf84aa6f
2015-01-13 12:15:47 +05:30