Skip to content

Step out of the box blue#3

Open
blueyes27 wants to merge 438 commits into
SlimRoms:mm6.0from
BlissRoms-Devices:mm6.0
Open

Step out of the box blue#3
blueyes27 wants to merge 438 commits into
SlimRoms:mm6.0from
BlissRoms-Devices:mm6.0

Conversation

@blueyes27
Copy link
Copy Markdown

right on right @#on

myfluxi and others added 30 commits April 2, 2015 17:43
https://github.com/CyanogenMod/android_hardware_qcom_display
commit 19c4ab9829ac810413424f384ab107abd9a1c27f

Change-Id: Iad2e9d8da782be36e5176c333717e06069d13420
Bug: 13769626

Change-Id: I85a48edc992e7e1f1a814940e4ef8ea120514dec
Change-Id: Ib09523eb62f9a0047daf568f288e29e3af0bc4d6
https://github.com/CyanogenMod/android_hardware_qcom_display
commit: 2d44d682e8a7dd3bd190bf7f18b19c0655425c41

Change-Id: I122eb7df414e351975e3e3d7818ae9b9d6080833
Change-Id: I8cdf9eb0012bdfa8c909cf7b5812b784b8a5845e
When using apps that are active in background, severe
battery drain is observed, caused by small spikes in cpu
load that trigger frequent jumps to hispeed_freq. This
becomes very apparent with GPS tracking apps.

Add an extension to the PowerHAL to effectively disable
highspeed_freq when screen is off by choosing an
impossible value for go_hispeed_load.  interactive's
regular routines are sufficient to handle any kind
of tasks that are processed during screen off. We don't
need additional responsiveness there.

Change-Id: I9d7b76a0f9a78145300e4ce6ab65885d4f9eed92
An encrypted phone with access lock is another usecase
that might break MDP kickoff with idle power collapse.

Change-Id: I05d17ba00feffae3b73d92757bfbdec454c1a359
Don't copy e2fsck as it is already copied in vendor/cm/common.mk

https://github.com/CyanogenMod/android_vendor_cm/blob/cm-12.0/config/common.mk#L159

Don't copy device specific apn and spn list as it is already copied
in vendor/cm/telephony.mk

Change-Id: Ica2761c63ccc04e798fa47ca52d0a9cb37bc744c
Derp.

Change-Id: Ia9e993b35dbe7a6d53a850c41295851878429974
Cleanup sepolicy accordingly.

Change-Id: I0bdb8ec85314aa53706e6ee6fc71a869dba855c9
Change-Id: Id2d71e59e2e47587e81b70f9db4798db8f9f9392
https://github.com/CyanogenMod/android_hardware_qcom_display
Commit: 5c1f3ab565fac5845373341953d88cbdb93b7f7e

Change-Id: I6cfd7be0f9947b731ca315c25df7ae5051a6205b
Incase of delayed daemon start there is possibility of
timeout, HAL should re-attempt in those cases to allow
time for daemon to start.

Bug: 19565773
Change-Id: I1920fb32652e944ca599efef7801045b60c42ca8
Change-Id: I73b4c8987bdf78b16d520870aff523842249f8a8
* Remove unused devices

Change-Id: I5868a3c847143604874831f616ad3c278cc6e5bf
While this may not be a very good idea to use (do you really want
to have a usb stick sticking out of your phone??), the current
fstab is incorrect and needs to be fixed.

Removable storage is always noemulatedsd (and defined as such
in storage_list.xml).  The fstab should be consistent with the
rest of android.

Change-Id: I03d8e2af810bc4291a2ed6adde79a9aadbc7a755
- isActive flag need to be true when wfd is active because this
  flag is used to check limitations in allocating pipes i.e.
  8x26-DMA pipe should not be allocated for primary if wfd is active.

  When VDS activates/deactivates, there is no unblank/blank call so
  updating isActive flag is taken care here.

Change-Id: I686c5f820b3bb51f2c7298b735fc91a9db8922a1
* When the ambient light changes, pp-daemon will invoke multiple
screen-refresh cycles for LUT convergence needed for
PP algorithms.

* When this happens during static screen usecase, there would
be frequent switches from gpu-comp(due to idlescreen-fallback)
to mdpcomp and back. This results in increase in power numbers
due to increased composition cycles.

* To resolve this, do the following:

a) If frame 'n' is composed using GPU and frame 'n+1' is same
as frame 'n' in terms of input layers contents, avoid any
composition needed for frame 'n+1'. Mark the composition type
for all the layers as HWC_OVERLAY and push the GPU composed
content of frame 'n' for 'n+1' too.

b) Donot do (a) if the any of the incoming layers is marked as
skip or HWC_GEOMETRY_CHANGED flag is set in layer list.

c) Limit (a) to only primary and when secondary is not connected
so that display output expectations during secondary pause-resume
can be met.

* This saves ~10ma during static screen usecase when ambient
light is frequently changing.

Change-Id: I6ca4ab3bf194ffe71191cc661086a14d3e2c26b3
Change-Id: If387d4d264d48091f27e7318fde700bdffed117e
* Better pulse schedule
* A tiny bit more responsive

Change-Id: I1bb6d560a0d1979f7ba52392445a15d98f1e624f
Change-Id: I7299a567e8c1acccd894331d047fb286024f7dab
Dileep Kumar Reddi and others added 29 commits February 4, 2016 21:21
Reset ROI in when we are unable to proceed with full MDP comp.
Do not use dirtyRect for video use-cases to address some
corner cases.

Change-Id: Id1ea6c1515f4441f0f35c0d08828e9c361bcbc86
Change-Id: I2ad6fd2ed1326e102542709f094ecf423b895830
Change-Id: I7fd2a5143e69fd62b7dc67bb95b737494b6056b5
Change-Id: Ia315996d703ff4f50f3aeb0f5a7089fabd6f9e15
Change-Id: Ic436d2373432427dcf6b4652bf0a21ffece882d6
It is an overlay now. No need to set the default value.
https://github.com/CyanogenMod/android_frameworks_base/
blob/cm-13.0/core/res/res/values/config.xml#L432

Change-Id: I319df1d40436d5a8cf3ac045a2f136721b4e59ad
Change-Id: I5fa9229ac5cceeb1359472bcc6fdb86c60962a3c
* Don't copy com.android.future.usb.accessory as it is already copied by build
  https://github.com/CyanogenMod/android_build/blame/cm-13.0/target/product/core_minimal.mk#L36

* Simplify makefile by inheriting phone-xxhdpi-2048-hwui-memory.mk

Change-Id: Id40f3eec1fed100d0ab7d0cefb2489cd2c1e52ea
Change-Id: I06fe3ac8ccc8c55fe3ab34bfd0750999231c04db
- Currently driver does not support interlace format for HDMI,
  so filter out interlace format from edid string and report
  only supported format to HAL.

Change-Id: Ib969bf16b02ca9f3305d34ebc9b082bd18c92d52
The variable persist.sys.usb.config is no longer honored by the framework,
and it's presence causes unnecessary toggling of the USB driver, which
disonnects ADB and makes the device's connection unstable.

Change-Id: I78bde610e2b4cc851714a28de690a361e75c4045
Change-Id: Id875cc9775981dbc9c49141493cffa04804967f6
Change-Id: I5c6781047547162a8e75a1e81d55e27998d27567
Change-Id: Icb418888dede78e6f9d16beab869232aa36218cf
This reverts commit a1aaef5.

Change-Id: If3670caa15fc7ef2eb4e023f18ef6e0d100f6b0f
Bug: 21596364
Change-Id: I47030cbca4188d983b5b12b909881bb7b37d36ff
Change-Id: I21ef861ae79c34d78ec34bcd378fd7c50eb075a1
Change-Id: Ie7d75515f2c9e1ca07fe791f745cb120c5b654c1
The PerformanceManager code now handles the setting of powersave
profile on low power mode, so this is redundant.

This implementation also doesn't remember the previous user selected
performance profile, instead only setting to balanced profile when
low power mode is turned off.

Change-Id: I5d65cd1e7b915e9a088523d2d62ae541b5bcd78c
Change-Id: I127814ce959e50e519198cdf344295826eec272a
 * In M, Google is sending boost hints in several places (a couple which
   overlap with work we already did). Add support for this.

Change-Id: Ica7af378cf2139de93aa3a85ae8ccd01e0f8733c
1.2GHz is sufficient, the governor is smart enough.

Change-Id: Iac57b2be358e1dfdac4bc389999dea0c60648cbd
In one of the one-time operations, memory was allocated for reading
lines from a sysfs node, but not freed subsequently. This patch
addresses that.

Change-Id: I31dfd922a0aa02a9a4ef02b0d3a0f049c0cac08a
Change-Id: Ie88b2858ca58a2e755ac09cf4b27dabc4d37b525
Change-Id: I4d713d9654da8f09ce6e2858cad7ab63b9a82158
Change-Id: Ib8f2849a422a1dcf7343db668406317ac7f43762
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.