From: Dmitry Rogozhkin Date: Wed, 3 Oct 2012 14:15:26 +0000 (+0300) Subject: drm/i915: EBUSY status handling added to i915_gem_fault(). X-Git-Tag: v3.2.36~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=750ebe7d20b661ab286380a819a83c18365648b3;p=pandora-kernel.git drm/i915: EBUSY status handling added to i915_gem_fault(). commit e79e0fe380847493266fba557217e2773c61bd1b upstream. Subsequent threads returning EBUSY from vm_insert_pfn() was not handled correctly. As a result concurrent access from new threads to mmapped data caused SIGBUS. Note that this fixes i-g-t/tests/gem_threaded_tiled_access. Tested-by: Mika Kuoppala Signed-off-by: Dmitry Rogozhkin Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed