[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-intel-gfx
Subject:    [Intel-gfx] [PATCH 2/2] drm/i915: disable shrinker lock stealing for create_mmap_offset
From:       chris () chris-wilson ! co ! uk (Chris Wilson)
Date:       2012-12-19 13:49:29
Message-ID: b94cdc$7s5nf4 () fmsmga001 ! fm ! intel ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic