sde: Add support for idle fallback.
1. Set idle timeout value to driver through sysfs interface for
primary display.
2. Get notification about idle timeout from driver and fallback to GPU
composition.
3. Avoid idle fallback, if there is only one application layer.
4. Define a binder interface to set the idle timeout value through adb.
(Eg. adb shell "service call display.qservice 16 i32 70")
Change-Id: If0cfcbea140580803ad8a67ac9425db86c0f75bb
diff --git a/displayengine/include/utils/debug.h b/displayengine/include/utils/debug.h
old mode 100755
new mode 100644
index 99d3968..7983c84
--- a/displayengine/include/utils/debug.h
+++ b/displayengine/include/utils/debug.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2014, The Linux Foundation. All rights reserved.
+* Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
@@ -50,6 +50,7 @@
static inline bool IsVirtualDriver() { return debug_.virtual_driver_; }
static uint32_t GetSimulationFlag();
static uint32_t GetHDMIResolution();
+ static uint32_t GetIdleTimeoutMs();
private:
Debug();