aboutsummaryrefslogtreecommitdiff
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorJesse Barnes2012-11-02 11:13:59 -0700
committerDaniel Vetter2012-11-11 23:51:40 +0100
commit073f34d9d49bdbadbea8198ddc3fbb7e736a94dd (patch)
tree6239b1055003f01aa92624fa4873f45376be5cf2 /ipc/ipc_sysctl.c
parenta4da4fa4e55a8cea7fe603e7564e72db97b77a89 (diff)
drm/i915: don't block resume on fb console resume v2
The console lock can be contended, so rather than prevent other drivers after us from being held up, queue the console suspend into the global work queue that can happen anytime. I've measured this to take around 200ms on my T420. Combined with the ring freq/turbo change, we should save almost 1/2 a second on resume. v2: use console_trylock() to try to resume the console immediately (Chris) Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> [danvet: move dev_priv->console_resume_work next to the fbdev pointer.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions