summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-02-10 16:45:48 +0100
committerJani Nikula <jani.nikula@intel.com>2022-02-14 12:19:37 +0100
commit5f2ec9095ce8439614ac289819a44e02f52a5415 (patch)
treea92ac0a12787422593919b4330f211099851bfff /drivers/gpu/drm/i915/gem/i915_gem_shmem.c
parentdrm/i915: split out i915_file_private.h from i915_drv.h (diff)
downloadlinux-5f2ec9095ce8439614ac289819a44e02f52a5415.tar.xz
linux-5f2ec9095ce8439614ac289819a44e02f52a5415.zip
drm/i915: don't include drm_cache.h in i915_drv.h
Include it only in files that use it. Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/14edab4a193ea3f73f387a88e3836c8555401871.1644507885.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_shmem.c')
-rw-r--r--drivers/gpu/drm/i915/gem/i915_gem_shmem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c b/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
index cc9fe258fba7..3414122245f0 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
@@ -7,6 +7,8 @@
#include <linux/pagevec.h>
#include <linux/swap.h>
+#include <drm/drm_cache.h>
+
#include "gem/i915_gem_region.h"
#include "i915_drv.h"
#include "i915_gemfs.h"