diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-18 10:46:04 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-20 11:48:15 +0100 |
commit | be6a03769504753696033b7595d4dcbc4a16d088 (patch) | |
tree | db20e3cab190503e4f0e26ae2207cf9b837c8546 /drivers/gpu/drm/i915/Makefile | |
parent | 6f4b12f89c78fd0030aa51ead17eaf234108f60d (diff) | |
download | blackbird-op-linux-be6a03769504753696033b7595d4dcbc4a16d088.tar.gz blackbird-op-linux-be6a03769504753696033b7595d4dcbc4a16d088.zip |
drm/i915: Extract i915_gem_shrinker.c
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@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/Makefile')
-rw-r--r-- | drivers/gpu/drm/i915/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile index d3ebaf204408..a69002e2257d 100644 --- a/drivers/gpu/drm/i915/Makefile +++ b/drivers/gpu/drm/i915/Makefile @@ -28,6 +28,7 @@ i915-y += i915_cmd_parser.o \ i915_gem_execbuffer.o \ i915_gem_gtt.o \ i915_gem.o \ + i915_gem_shrinker.o \ i915_gem_stolen.o \ i915_gem_tiling.o \ i915_gem_userptr.o \ |