summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gt/intel_timeline.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/gt/intel_timeline.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/gt/intel_timeline.c')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_timeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_timeline.c b/drivers/gpu/drm/i915/gt/intel_timeline.c
index 2962be6d4d00..b9640212d659 100644
--- a/drivers/gpu/drm/i915/gt/intel_timeline.c
+++ b/drivers/gpu/drm/i915/gt/intel_timeline.c
@@ -3,6 +3,8 @@
* Copyright © 2016-2018 Intel Corporation
*/
+#include <drm/drm_cache.h>
+
#include "gem/i915_gem_internal.h"
#include "i915_active.h"