diff options
author | 2014-08-13 13:09:46 +0100 | |
---|---|---|
committer | 2014-08-13 15:39:23 +0200 | |
commit | 82e3b8c130f046b7dd1e7898c10e40edb52fee6d (patch) | |
tree | fd356f0f4a7557e34ed4cdee0bf65feb474ea654 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/i915: Replace __I915__ with typesafe variant (diff) | |
download | linux-dev-82e3b8c130f046b7dd1e7898c10e40edb52fee6d.tar.xz linux-dev-82e3b8c130f046b7dd1e7898c10e40edb52fee6d.zip |
drm/i915: Localise the fbdev console lock frobbing
Rather than take and release the console_lock() around a non-existent
DRM_I915_FBDEV, move the lock acquisation into the callee where it will
be compiled out by the config option entirely. This includes moving the
deferred fb_set_suspend() dance and encapsulating it entirely within
intel_fbdev.c.
v2: Use an integral work item so that we can explicitly flush the work
upon suspend/unload.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
[danvet: Add the flush_work in fbdev_fini per the mailing list
discussion. And s/BUG_ON/WARN_ON/ because.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions