g2: mount options to improve performance

* also tidy up fstab

Signed-off-by: houstonn <houstonn@gmail.com>
g2: Always keep 3 buffers ready

 * Reduces overall jank system-wide

Signed-off-by: houstonn <houstonn@gmail.com>
g2: update sprint telephony overlays

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: squash loki updates

Update loki to support att ota of d80010o
Change-Id: Ieb0eac1754f9c84c8ef2c4534bc7865262e052d3

Update loki to support latest verizon ota of VS98012b
Change-Id: Ia08cc210c7df05d5fa9c17c186db05965ea28ec4

picked from CM - credit Shelnutt2

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: updates from cm

Remove unused audio config options

time_daemon: Create the service's atom storage dirs

camera: Make sure we never claim to have multiple snaps if ZSL is disabled
This is mostly a userspace app bug, but still an incorrect behavior on
the HAL's part. In non-ZSL burst modes, the number of snaps should always
be 1

media_codecs: List only those we actually build
Listing codecs that aren't present breaks apps that scan all codecs
for a best match

credits: rmcc

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: Force full GLES virtual layers to go via HWC
b/8316155 - Implement HWComposer 1.3 w/ virtual display support

* also add adreno source = false

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: update power_profiles

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: Enable smooth-streaming video-playback

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: add optimization

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: USB audio updates

msm8974: Enable USB audio
* Use new QCOM USB audio path which uses the AFE proxy
* With offload

Change-Id: Id08dbfec1bffa1bc083109e8f81be6509abe1db5

msm8974: Enable deep buffer output as primary
 * Since we're not offloading audio during AV playback, it's
   better to use DEEP_BUFFER as the primary output and only
   select the FAST output when the flag is set. This saves
   power during video playback.

Change-Id: I94d4de328377e9c351bd77c5ad5b0a7ec96cbb79

msm8974: Enable new mixer for offload
Change-Id: I21620d3a2612c992dc70a783f20aa8b73e8c9073

msm8974: Add offload properties
 * Set fragment size (same as default)
 * Enable gapless playback with offloaded streams
 * Enable offloading for AV (but not streaming AV!)

Change-Id: I1b0f8115bc880bd89f5a0c8ed13e4b54d38e0867

msm8974: Disable gapless by default
 * Audio driver will enable as necessary. Leaving it on always
   causes issues in some apps like Pandora.

Change-Id: I59a732577c3a4a61c8949498101b4b5bae0998ce

credits: Steve Kondik

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: update audio configuration

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: add PA Lightbulb overlay for app and core.

* Needed by device with flash, default flash availability is false.

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: move gps.conf to configs

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: update thermal

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: Add libqc-opt property override

* libqc-opt is located in system/vendor/lib not system/lib

Signed-off-by: houst0nn <houstonn@gmail.com>
g2: battery leds