summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-11-02 22:13:59 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-12 02:51:40 +0400
commit073f34d9d49bdbadbea8198ddc3fbb7e736a94dd (patch)
tree6239b1055003f01aa92624fa4873f45376be5cf2 /tools/perf/scripts/python
parenta4da4fa4e55a8cea7fe603e7564e72db97b77a89 (diff)
downloadlinux-073f34d9d49bdbadbea8198ddc3fbb7e736a94dd.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions