diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-28 11:57:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:36:00 -0800 |
commit | 0198c89767e26f78e619eef2309be74186b4fdcd (patch) | |
tree | 1f169dd328d36785f3f8d8c0428564f282cb2377 /sound/soc | |
parent | 2f8c09acae88d1bf0aeedffd3f788eb5c5b4db29 (diff) |
io-mapping: ensure io_mapping_map_atomic _is_ atomic
commit 24dd85ff723f142093f44244764b9b5c152235b8 upstream.
For the !HAVE_ATOMIC_IOMAP case the stub functions did not call
pagefault_disable/_enable. The i915 driver relies on the map
actually being atomic, otherwise it can deadlock with it's own
pagefault handler in the gtt pwrite fastpath.
This is exercised by gem_mmap_gtt from the intel-gpu-toosl gem
testsuite.
v2: Chris Wilson noted the lack of an include.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38115
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions