Add support for white LEDs

Bug: 9079860
Change-Id: Icc981682a274546c1414bd7c0b0045b1293575bf
hwc: Clear rotator map if overlay allocation fails

This fixes the GPU fallback path in case overlay set fails.

Bug: 9322550
Change-Id: I515204f41169debd8428b4fc48be392ecdd9ff48
Signed-off-by: Iliyan Malchev <malchev@google.com>
overlay: Add tolerance to downscale factor

In certain corner cases for 1080p panels, round doesn't get us
the right downscale factor resulting in MDP attempting to go into
blt mode. Add a tolerance for failure.

Bug: 9322550
Change-Id: I2be4715955d9e248fc63e408dc4a2cdf493152f6
Signed-off-by: Iliyan Malchev <malchev@google.com>
copybit: Fix type conversion error for GCC 4.7

Change-Id: I7f99986b4cafd9fbb384de8956d65d43d4b60e01
Fix build.

Change-Id: Icc87e59f8bbd9bcaeefa93d50f5f02bec24b344c
display: Fix handling of QCOM_BSP

 * Only set this CFLAG if the device declares TARGET_USES_QCOM_BSP.

Change-Id: Id1c02c5d1cca9016d46005333ba1e2a22e75e1cb
Revert "Fix build."

This reverts commit 1b2f17199baca6ff5cf4f74ca94509338d68cde1.
weird flag

Change-Id: Iab13a7db0df7755c2954781f2049a6f0bdb185ec
Fix flags

Signed-off-by: Evan Anderson <evan1124@gmail.com>
match CM
Proper fix for flags

On flo this would cause an error when not building the kernel from source.
This is identical to CM.

Signed-off-by: Evan Anderson <evan1124@gmail.com>
display qcom: allow mako to use jw66 kernel

Change-Id: Iba05f4b439daeb2cf0a4ac71fc7d6f5fd8af8062
Merge "display qcom: allow mako to use jw66 kernel" into jb4.3
display qcom: allow mako to use jw66 kernel

Change-Id: Iba05f4b439daeb2cf0a4ac71fc7d6f5fd8af8062
Merge branch 'slim/jb4.3'
Merge remote-tracking branch 'github/jb43-r2.2' into HEAD
display qcom: do not use global cpp flag

at least the result is the same but let us user the
propper way like we do it with all flags and do not
set if over a global cpp flag

Change-Id: Iad45aa8b469e867743c3be695a0037349839a726
Merge remote-tracking branch 'pa/jb43' into sm-4.3