libhwcomposer: Log and dump app layers of screen frames

Log a frame-by-frame succession of HWComposer layers' data and write
their buffers, if any, into raw or png files based on system property
values.

Change-Id: Icceccf5fff5ab4d78dbc6c28c11210b8837ddfd9
Merge "libhwcomposer: Log and dump app layers of screen frames"
Add support for changing CPU# status on the fly

This change allows calls to the perf_lock API. This gives the user control
over CPU#'s. Currently it is used to boost the performance on the fly.

Please refer to device/qcom/common/power/performance.h for the list of
enumeration.

Change-Id: Id7f5a5ec72bd14eab1301569e387174e3f3b3e6b
hwc: Simplify vsync code

Handle the wait properly in the kernel and remove unnecessary
thread signaling.

Change-Id: Iff05825a7a85d0353f3feb64e7f9a06cedab7869
Merge "hwc: Simplify vsync code"
Merge "Add support for changing CPU# status on the fly"
libqdutils: changed performance boost to 3 cpus

CPU2 is also turned on for display performance boost

Change-Id: I23b262bd824b82fd5e8cb5dee6d47b4178f6db06
Merge "libqdutils: changed performance boost to 3 cpus"
Libqdutils:changed performance boost to CPUS_ONLINE_MIN_3.

Change-Id: I0ea754623223e83a6832578b981817efdd607a18
hwc: Do not lock on vsync control

Holding this lock can cause a deadlock on resolution change.
Normally surfaceflinger makes sure the display is unblanked
before enabling vsync. Also, We need to ensure that we unblank the
primary display on bootup.
Merge "Libqdutils:changed performance boost to CPUS_ONLINE_MIN_3."
Merge "hwc: Do not lock on vsync control"
hwc: 480p output resolution

To keep 16:9 ratio, not the full frame buffer is used by framework,
adjust the scissor to crop the destination ROI correctly.

CRs-fixed: 499570

Change-Id: I459a8bcb1e6e38e6190e2beda9d380bd7a8dc850
Merge "hwc: 480p output resolution"
hwc: default EDID not selected

When EDID has unsupported interlaced mode, it should go to
DMT mode. Since in modes priority table 1080i30 has higher
priority, its getting selected instead of DMT mode.
Because of this blank screen is seen. This code change fixes
the priority order.

CRs-Fixed: 510894
Change-Id: I83c767ac4623e0ebef40fd74a21a35e628e6ee15
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Merge "hwc: default EDID not selected"