[Intel-gfx] [PATCH 1/5] io-mapping: ensure io_mapping_map_atomic _is_ atomic

Chris Wilson chris at chris-wilson.co.uk
Sat Sep 17 22:43:37 CEST 2011


On Sat, 17 Sep 2011 20:55:45 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> 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.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38115
> Cc: stable at kernel.org
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list