Commit Graph

43 Commits

Author SHA1 Message Date
Alex Naidis 2b424c08cd
common: init: Kill board init support
* These files were still using the old
  syntax and thus breaking build.
* Instead of fixing all of them,
  remove support, since they have
  no use.

Change-Id: I522655a8c52089dd779a131ac2a785c63856e61f
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-30 02:44:39 +01:00
Alex Naidis f1658c6a30
common: init: Remove junk
* As preparation for the comeback

Change-Id: Iafa198bf0c70106944acd4ebbf2d492e622dbf09
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-27 20:42:35 +01:00
Jake Weinstein 6fb153aabc init: remove display density code
* Let devices define this

Change-Id: Ieeaf4ec6ab0f4da08ca6f9428c72de57997a17d0
2016-01-30 22:10:40 -05:00
Anshuman Dani a31e0e46c8 init_msm8960: Overwrite ro.opengles.version for 8960
Overwrite the ro.opengles.version property with 0x2000.
This change is specific to 8960 Classic, which can only
support upto Open GLES vesion 2.0

This change fixes the CTS test failure
android.opengl.cts.OpenGlEsVersionTest

CRs-Fixed: 575502

Change-Id: I7e90ddde44fef596d1446e6f1acfe7070ef9337b
2016-01-30 22:10:39 -05:00
dhacker29 1a5d47b426 common: init: Add hook for target specific libinit defines
* Set TARGET_LIBINIT_DEFINES_FILE := path to your file in BoardConfig

Change-Id: I2cc84a0c82875b2cf57c2b94a544a30c9ada546b
2016-01-30 22:10:39 -05:00
Jake Weinstein bdf1abf3af common: build vendor init static library as C++
* This is necessary in order to match f3cf438714

* Based on the following commit to CyanogenMod eda5f3cca0

Change-Id: Ib3f2e4c533129aba8fba9eda8509762c7fc5d7c7
2016-01-30 22:10:39 -05:00
Tanya Finkel 889088c372 display: Fix resolution for SBC8016 platform
The default display for the SBC platform is HDMI display.

Change-Id: I41003b140a7201f681fcc5005106ccdd0e5736e3
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 0dc9940a9c common: Set separate system property for 8929
8929 is using 8939 system property to select hw hevc
decoder solution but this may lead to other CTS issues
as 8929 have different specification. Use separate
system property for 8929.

Change-Id: I8687279c7fa2957ddf16dfeeba4f0c859c3bf01b
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 78b7be083c common: use hw hevc decoder for msm8929
8929 target is using software hevc decoder. Set a system
property so as to use hw hevc decoder, for all variants of
8929.

Change-Id: I156a26e905859a23f96a32ca4b98cdee688833df
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi e2385f88ee common: Set system property to differentiate 8916 and 8939 hw
Set system property to differentiate 8916 and 8939 hw based
on soc-id to select appropriate media_codecs.xml

Change-Id: I043e00c9c580994b511f8fcec4a0890da90645a6
CRs-Fixed: 770327
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 9ca09baa10 init: disable narrow search range
For 8916 narrow search range should be disable.
Disable set property vidc.enc.narrow.searchrange,
if target is 8916.

Change-Id: I501eaf1de72334a0a86baa222d29387b4da66860
2015-11-06 04:58:41 +00:00
Praveena Pachipulusu 114f2242da init_msm8916: Properly handle reading sysfs node
Properly handle failure to read sysfs file used to
determine the lcd density.

Change-Id: I864f67e9c9489b20f3634179e277fb5ad6096af0
2015-11-06 04:58:41 +00:00
Praveena Pachipulusu 755ea2e467 init: Add MSM-specific init extension library
Implement MSM-specific initialization during boot
up at "init" stage. Set DPI property based on panel
resolutions by reading virtual_size sysfs entry.

Change-Id: Ie0e1b5e68c72abe4aa11edbd4700bef3208dd461
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi 2eb5cdf7ca common: Add setprop to differentiate sw/hw HEVC
Add setprop to differentiate sw/hw HEVC based on
msm_id

Change-Id: I15421fa9217597a541e0ee042ba48662fcda59b4
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi 4850063265 common: Add init_msm for 8916 file
Add init_msm for 8916 file and do setprop's
for hw/sw HEVC based on msm_id

Change-Id: I4cde44765e017add364a3632632a4c78cdab33f5
2015-11-06 04:58:41 +00:00
Shruthi Krishna e51bd6991f Renaming thulium to msm8996
Change-Id: I912a7bc3a107341e7d413937c0d1e9580e0a20d6
2015-11-06 04:58:41 +00:00
Bruce Levy fb14db9279 init: Add MSM-specific init extension library for thulium
- Implements MSM-specific initialization during bootup
- Sets the lcd density to 480

Change-Id: I30259948edf866b0e288d33ae1965aa1bd980f93
2015-11-06 04:58:41 +00:00
Ilia Lin 06902886c8 init: qcom: Set ro.sf.lcd_density for SBC APQ8084
Set the property ro.sf.lcd_density value to comply the
SBC APQ8084 display size.
qemu.hw.mainkeys is set to 0, because SBC is headless device
and doesn't have HW buttons.

Change-Id: I3e4e56245f95a061ea218f16c0af3f10a797ad4b
2015-11-06 04:58:41 +00:00
Vijay Ganti 3a04bbdd8b apq8084: Update LCD density setting for APQ8084 MTP and Liquid
Update LCD density on Liquid to 320 and MTP to 480
based on UX profiling and Jank analysis

CRs-fixed: 612032
Change-Id: I1d2ee7671b7fd388967087df4f4bf8711f010478
(cherry picked from commit e47e385274)
2015-11-06 04:58:41 +00:00
Jake Weinstein 1bb753951d init: add support for MSM8952/MSM8976
Change-Id: I045bab35a8b97e84b41612e0ac0e33d43995ef60
2015-11-06 04:58:41 +00:00
Jake Weinstein 8fa270fcc4 init: add support for MSM8909
Change-Id: I852690234de1b2ffd0b6cf457106fff353a89a53
2015-11-06 04:58:41 +00:00
Prabhanjan Kandula 77b2be061e init : display: Add permission to camera bw node.
Allow surfaceflinger process to access fb0/mdp/bw_mode_bitmap,
so that framework can hint the camera usage to limit the bw.

Change-Id: I566010e1b988ab06f6618967f5b9c6d0cfb68890
2015-11-06 04:58:40 +00:00
Ilia Lin 4406b7b8d7 init: qcom: Set LCD density for Dragonboard APQ8094
Set proper LCD dencity for the FWVGA display on the
Dragonboard APQ8094.

Change-Id: I6bd657ee90a21ed8a13e6456b05feaf79b5c5c95
2015-11-06 04:58:40 +00:00
Arun Kumar K.R 515ddd0a47 init: Add MSM-specific init extension library for 8994
- Implements MSM-specific initialization during bootup
- Sets the lcd density at the bootup

Change-Id: I2bbc3e724682b8b11329b87c26aca1e4faf8d357
2015-11-06 04:58:40 +00:00
Jeykumar Sankaran b5c9c4c670 init: Add MSM-specific init extension library for 8992
- Implements MSM-specific initialization during bootup
- Sets the lcd density to 480

Change-Id: I2997e902c3bdafefda0bb98b8d8b3c1279c7b5dc
2015-11-06 04:58:40 +00:00
Saurabh Shah 5a8cc2ab60 device/qcom/common: Add permissions for mode and modes
Add permissions, owners for /sys/class/graphics/fb0/{mode, modes}
These are meant to be read/written to by hwc.

Change-Id: I43f38b8106ac066b37912a3ebd2af2375f3e7b09
2015-11-06 04:58:40 +00:00
Jeykumar Sankaran 98f88d6286 init: Set permissions for dynamic partial update node
Set file permissions for dynamic partial update system node to
control the feature at runtime.

Change-Id: Icd4799907d168c2606c8811c73f4fedd847d55f0
2015-11-06 04:58:40 +00:00
Arun Kumar K.R 6bfa2abe8e init_msm: Add usergroup permission to dynamic_fps node.
HWC will be writing to this sysfs node to set the variable
refresh rate, hence set proper usergroup

Change-Id: If668003463f580050d5843af97bf8f8761eb7f88
2015-11-06 04:58:40 +00:00
Naseer Ahmed 3edc4294a4 init: Set permissions for physical address
Change-Id: Ic7f0b296e9ab5f1738aae4f46dcb47e935da8045
CRs-Fixed: 795622
2015-11-06 04:58:40 +00:00
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
Matthew Qin a1bf26c85f init: Add ro.alarm_boot property support
ro.alarm_boot property is used to let framwork detect if it
is RTC triggered boot.

Change-Id: Id503ad39a2872fdb3acbc79233c008dc4f4e4a3c
2014-04-30 08:49:32 +05:30
Ramkumar Radhakrishnan e4298c3b33 init script: Add usergroup write permission to idle_time node.
Set usergroup write permission of idle_time node to enable idle
timeout feature.

Change-Id: If6b0a94e93b5117c4004726d62a346403f7a8ed3
2014-03-07 16:37:42 +05:30
Linux Build Service Account 4cd19080fc Merge "init: Set DPI property based on platform subtype ID" 2014-02-08 04:16:36 -08:00
Aravind Venkateswaran c5110079c6 init: Set DPI property based on platform subtype ID
There is a need to support panels of different resolutions
on msm8926. In such scenarios, the platform subtype
ID is used to uniquely identify such panels. Use this ID to
correctly configure the device property for the DPI setting.

Change-Id: If2d7c3cb2a528e9fe6780116ea1ceb278eba138d
2014-02-07 23:07:57 -08:00
Pradeep Panigrahi e726a3dab1 init: qcom: Setting Bluetooth soc property.
In case of msm8974-apq, setting Bluetooth property as ath3k

Change-Id: I4c9da7fc422d82b97b1dac353c33b1b1913fc826
2014-02-05 03:31:45 -08:00
Uday Kumar Sundar ffb26f9c91 Coredump :Add coredump support for processes
This change will set-up the core-dump directory and the core-file
pattern. The coredumps will not be generated during crashes on
boot-up. The core-dumps will only be generated on crashes after the
boot-up.

Change-Id: Ie8c15f500aa871b7b06913e70d0076656834b319
2014-01-03 12:24:49 -08:00
Arun Kumar K.R 2f479e8e0b init_msm: use qemu.hw.mainkeys instead of ro.hw.nav_keys
Android removed support for ro.hw.nav_keys property to enable/disable
the virtual keys on the target, hence just use qemu.hw.mainkeys.

Change-Id: Ieb700313ea49a32ed98f80e3e8cce9ab9e07624b
2013-11-15 18:51:02 -08:00
Linux Build Service Account 92c98f3699 Merge "init: Update lcd density setting for APQ8084" 2013-10-18 02:06:23 -07:00
Praveena Pachipulusu cab15b2f91 init: set hdmi node permissions during initialization
- Add functions to setPermission and setOwner for file nodes
- Set hdmi node permissions based on fb number.

Change-Id: I57babd7aa8387d35860ad66892dd0c21ca35c135
2013-10-14 18:42:39 -07:00
David Ng 5b2f11d094 init: Update lcd density setting for APQ8084
Use correct LCD density and softkey enable setting
for APQ8084.

Change-Id: I0ba8bc5d69981224c2dcdb314926a11d9f6a85eb
2013-10-10 14:01:35 -07:00
David Ng a6f677ea78 init: Add MSM-specific init extension library
Implement MSM-specific initialization during boot up
at "init" stage.  This allows variable setting based
on runtime query of hardware configuration.

Change-Id: Id14293a9f030d6631c55e84498f503a5bcb818e2
2013-09-27 01:13:19 -07:00