hwc: Add support for Secure display

- Identify secure display layer in the hwc_list
- Need to set both SECURE_OVERLAY and SECURE_DISPLAY flags for the secure
  display layer
- Disable idle timeout for secure display usecase, as GPU should not be
  accessing secure display layer

Change-Id: I555910db77c466b5e103b24b4f0ec7f47bb210a5

Conflicts:
	libhwcomposer/hwc_utils.h
gralloc: Fix caching for rarely read/write flags

GRALLOC_USAGE_SW_WRITE_RARELY and GRALLOC_USAGE_SW_READ_RARELY
need to be compared directly since they share bits with
GRALLOC_USAGE_SW_WRITE_OFTEN and GRALLOC_USAGE_SW_READ_OFTEN.

CRs-fixed: 569559

Change-Id: I52692027033e1036e3ad960b9e03dd8ee60b4111
Merge "hwc: Add support for Secure display"
hwc: remove unblanking fb from openframebufferdevice

- unblaking fb is done as part of surface flinger initialization
  so its not required here

Change-Id: Ifaed119503c74b5a75ffd6694d3508c4c15dfb60
Merge "hwc: remove unblanking fb from openframebufferdevice"
Merge "gralloc: Fix caching for rarely read/write flags"
display: bring back support for mr0 adreno blobs

Change-Id: If423fd01eefbc4f64f6fee18d7ba636a912b6d21
display: fix display hal building for 7x27a under aosp

Change-Id: I6c32d2334c8c674e7cdb6859e03f5aa5dd953bc4
libqdutils::Replace USE_MDP3 with getMDPVersion() method.

Change-Id: Id602c8ab8d8ba140a379ba0e475c73806d17b527
Disable treating warnings as errors

Change-Id: If99634cda142b3f8dcb545ba3c2b58de25110fa1
Merge commit 'AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.016' into HEAD

Change-Id: I0830d43749cc93b20a918813f634f9ccd75a4848