diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-28 10:29:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-28 12:45:29 +0100 |
commit | 37d63f8fdb4941b6a82ef9e59bee62a494225c7e (patch) | |
tree | 1e7686a4a54755f58b1d2cce99161dd3af140551 /drivers/gpu/drm/i915/gem/i915_gem_internal.c | |
parent | drm/i915: Move more GEM objects under gem/ (diff) | |
download | linux-dev-37d63f8fdb4941b6a82ef9e59bee62a494225c7e.tar.xz linux-dev-37d63f8fdb4941b6a82ef9e59bee62a494225c7e.zip |
drm/i915: Pull scatterlist utils out of i915_gem.h
Out scatterlist utility routines can be pulled out of i915_gem.h for a
bit more decluttering.
v2: Push I915_GTT_PAGE_SIZE out of i915_scatterlist itself and into the
caller.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190528092956.14910-9-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_internal.c')
-rw-r--r-- | drivers/gpu/drm/i915/gem/i915_gem_internal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_internal.c b/drivers/gpu/drm/i915/gem/i915_gem_internal.c index 85a05a2435e9..0c41e04ab8fa 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_internal.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_internal.c @@ -13,6 +13,7 @@ #include "i915_drv.h" #include "i915_gem.h" #include "i915_gem_object.h" +#include "i915_scatterlist.h" #include "i915_utils.h" #define QUIET (__GFP_NORETRY | __GFP_NOWARN) |