msm: mdss: Adjust fence timeouts
Change the final fence wait timeout to be 7s for a total of 10s Change the display operation timeout to be 1s more than that instead of the excessively large timeout. Change-Id: If9ae04f9e5993d754b6ccbfdd9e80ec46960e73b Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
This commit is contained in:
parent
cc68114054
commit
aa1488988c
1 changed files with 6 additions and 4 deletions
|
@ -32,10 +32,12 @@
|
||||||
|
|
||||||
#define MSM_FB_ENABLE_DBGFS
|
#define MSM_FB_ENABLE_DBGFS
|
||||||
#define WAIT_FENCE_FIRST_TIMEOUT (3 * MSEC_PER_SEC)
|
#define WAIT_FENCE_FIRST_TIMEOUT (3 * MSEC_PER_SEC)
|
||||||
#define WAIT_FENCE_FINAL_TIMEOUT (10 * MSEC_PER_SEC)
|
#define WAIT_FENCE_FINAL_TIMEOUT (7 * MSEC_PER_SEC)
|
||||||
/* Display op timeout should be greater than total timeout */
|
/* Display op timeout should be greater than the total timeout but not
|
||||||
#define WAIT_DISP_OP_TIMEOUT ((WAIT_FENCE_FIRST_TIMEOUT + \
|
* unreasonably large. Set to 1s more than first wait + final wait which
|
||||||
WAIT_FENCE_FINAL_TIMEOUT) * MDP_MAX_FENCE_FD)
|
* are already quite long and proceed without any further waits. */
|
||||||
|
#define WAIT_DISP_OP_TIMEOUT (WAIT_FENCE_FIRST_TIMEOUT + \
|
||||||
|
WAIT_FENCE_FINAL_TIMEOUT + 1)
|
||||||
|
|
||||||
#ifndef MAX
|
#ifndef MAX
|
||||||
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
||||||
|
|
Loading…
Add table
Reference in a new issue