diff options
author | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2015-10-20 15:43:54 -0700 |
---|---|---|
committer | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2015-12-17 12:44:13 -0800 |
commit | 18396d486dfc07119706370f6e3256bc6de88d30 (patch) | |
tree | f1092f56dddefc9398171b9143383649b241fa3c | |
parent | c20f2cc6ed871459a6e0b4ebbeaeffb7675290b3 (diff) | |
download | hardware_libhardware-18396d486dfc07119706370f6e3256bc6de88d30.zip hardware_libhardware-18396d486dfc07119706370f6e3256bc6de88d30.tar.gz hardware_libhardware-18396d486dfc07119706370f6e3256bc6de88d30.tar.bz2 |
libhardware: Only support tertiary display in QTI_BSP is defined
Non-caf display hals crap out with this
Change-Id: I85390a818ee074dd4bdf637976a3c010a67764ac
-rw-r--r-- | include/hardware/hwcomposer_defs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h index 9c7d790..a90822a 100644 --- a/include/hardware/hwcomposer_defs.h +++ b/include/hardware/hwcomposer_defs.h @@ -207,17 +207,26 @@ enum { enum { HWC_DISPLAY_PRIMARY = 0, HWC_DISPLAY_EXTERNAL = 1, // HDMI, DP, etc. +#ifdef QTI_BSP HWC_DISPLAY_TERTIARY = 2, HWC_DISPLAY_VIRTUAL = 3, HWC_NUM_PHYSICAL_DISPLAY_TYPES = 3, HWC_NUM_DISPLAY_TYPES = 4, +#else + HWC_DISPLAY_VIRTUAL = 2, + + HWC_NUM_PHYSICAL_DISPLAY_TYPES = 2, + HWC_NUM_DISPLAY_TYPES = 3, +#endif }; enum { HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY, HWC_DISPLAY_EXTERNAL_BIT = 1 << HWC_DISPLAY_EXTERNAL, +#ifdef QTI_BSP HWC_DISPLAY_TERTIARY_BIT = 1 << HWC_DISPLAY_TERTIARY, +#endif HWC_DISPLAY_VIRTUAL_BIT = 1 << HWC_DISPLAY_VIRTUAL, }; |