diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-22 15:54:39 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-22 15:54:39 +0000 |
commit | 609e1d9da282323ab7abc1baad4d3f24ac55588f (patch) | |
tree | e23ff1cae61bd88f06cb22be236da4230d0cb363 | |
parent | 62602209e54c3568795122ee1c902c3b81985303 (diff) |
sna: Bump the inactivity timeout
With the goal of removing inactive pixmap froms the GPU after 5 minutes
of idleness.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 8756fab3..8a2ff9a7 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -8970,8 +8970,8 @@ static Bool sna_accel_do_inactive(struct sna *sna) if (sna->timer[INACTIVE_TIMER] == -1) return FALSE; - /* Periodic expiration after every 60s. */ - to.it_interval.tv_sec = 60; + /* Periodic expiration after every 2 minutes. */ + to.it_interval.tv_sec = 120; to.it_interval.tv_nsec = 0; to.it_value = to.it_interval; timerfd_settime(sna->timer[INACTIVE_TIMER], 0, &to, NULL); |