[Intel-gfx] [PATCH 2/2] drm/i915: disable shrinker lock stealing for create_mmap_offset

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 19 14:49:29 CET 2012


On Wed, 19 Dec 2012 14:33:46 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> The mmap offset structure is not part of the drm/i915 code, but
> provided by gem helpers. To avoid leaky abstractions (by either
> depending upon implementation details of said helper wrt to
> preallocations, or reimplementing it in our code and so fuzzing
> around in internal details of that helpr) simply disable
> the shrinker lock stealing accross calls into the helper functions.
> 
> This should fix igt/gem_tiled_swapping.

Proving that if we just fixed the code stolen from us, we'd run less
chance of introducing bugs.... :-p
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list