[Intel-gfx] [PATCH 1/2] drm/i915: Extract i915_gem_shrinker.c

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 18 03:01:45 PDT 2015


On Wed, Mar 18, 2015 at 10:46:04AM +0100, Daniel Vetter wrote:
> Two code changes:
> - Extract i915_gem_shrinker_init.
> - Inline i915_gem_object_is_purgeable since we open-code it everywhere
>   else too.
> 
> This already has the benefit of pulling all the shrinker code
> together, next patch adds a bit of kerneldoc.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Worth it just for i915_gem_shrinker_init().
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