disp: msm: sde: compute timeouts based on refresh rate
Current timeout values in sde driver for vblank, kickoff and frame complete timeouts are fixed and can be much lower than a vsync incase of low refresh rate display. Compute timeouts based on refresh rate for low refresh rate displays. Change-Id: I9dda41feb15446de7451824e185321de421ad575 Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
This commit is contained in:
@@ -51,6 +51,9 @@
|
||||
#define IDLE_POWERCOLLAPSE_DURATION (66 - 16/2)
|
||||
#define IDLE_POWERCOLLAPSE_IN_EARLY_WAKEUP (200 - 16/2)
|
||||
|
||||
/* below this fps limit, timeouts are adjusted based on fps */
|
||||
#define DEFAULT_TIMEOUT_FPS_THRESHOLD 24
|
||||
|
||||
/**
|
||||
* Encoder functions and data types
|
||||
* @intfs: Interfaces this encoder is using, INTF_MODE_NONE if unused
|
||||
|
Referens i nytt ärende
Block a user