summaryrefslogtreecommitdiffstats
path: root/common/base/DisplayAnalyzer.h
diff options
context:
space:
mode:
authorHong Liu <hong.liu@intel.com>2014-05-30 18:09:40 +0800
committerbuildslave <sys_buildbot@intel.com>2014-05-31 07:04:00 +0000
commit44a56a8b76db9cc1b297dfe2f32808eb73b4d387 (patch)
treeb2d78e2d03c84c428c658676b4704c43e79f92c7 /common/base/DisplayAnalyzer.h
parentfaed30981b75851e533fad0a2213587b3024aff7 (diff)
downloadandroid_hardware_intel_img_hwcomposer-44a56a8b76db9cc1b297dfe2f32808eb73b4d387.tar.gz
android_hardware_intel_img_hwcomposer-44a56a8b76db9cc1b297dfe2f32808eb73b4d387.tar.bz2
android_hardware_intel_img_hwcomposer-44a56a8b76db9cc1b297dfe2f32808eb73b4d387.zip
HWC: set idle delay to 0
BZ: 198265 It is no need to wait in HWC before entering into maxfifo mode, display controller will check whether it is OK to enter into maxfifo, there is no limitation on when to enable the maxfifo mode. Change-Id: I25e51eea19abd5d2143d561d8f4df588017d5512 Signed-off-by: Dongsheng Zhang <dongsheng.zhang@intel.com> Signed-off-by: Hong Liu <hong.liu@intel.com>
Diffstat (limited to 'common/base/DisplayAnalyzer.h')
-rw-r--r--common/base/DisplayAnalyzer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/base/DisplayAnalyzer.h b/common/base/DisplayAnalyzer.h
index d73b746..912cf44 100644
--- a/common/base/DisplayAnalyzer.h
+++ b/common/base/DisplayAnalyzer.h
@@ -122,8 +122,10 @@ private:
enum
{
// number of idle flips before display can enter idle mode
- // minimum delay is 1
- DELAY_BEFORE_IDLE_ENTRY = 2,
+ // we can set maxfifo even with more than one plane is active,
+ // display controller will check whether condition is met to
+ // enter into maxfifo, so no need to delay.
+ DELAY_BEFORE_IDLE_ENTRY = 0,
// number of flips before display can be powered off in video extended mode
DELAY_BEFORE_DPMS_OFF = 0,