summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-08-06 13:07:28 +0300
committerJani Nikula <jani.nikula@intel.com>2019-08-07 12:43:14 +0300
commita09d9a8002368e1b8754c8621ad06d3d7bade6f4 (patch)
treee81a3f72af0a8837f863e9b54e4139eacc187ef3 /drivers/gpu/drm/i915/gem/i915_gem_shmem.c
parentd0d392a8deed8442191bdf5b2d6bb17e04c928b6 (diff)
downloadlwn-a09d9a8002368e1b8754c8621ad06d3d7bade6f4.tar.gz
lwn-a09d9a8002368e1b8754c8621ad06d3d7bade6f4.zip
drm/i915: avoid including intel_drv.h via i915_drv.h->i915_trace.h
Disentangle i915_drv.h from intel_drv.h, which gets included via i915_trace.h. This necessitates including i915_trace.h wherever it's needed. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ed82bf259d3b725a1a1a3c3e9d6fb5c08bc4d489.1565085691.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.c1
1 files changed, 1 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 d2a1158868e7..4c4954e8ce0a 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
@@ -10,6 +10,7 @@
#include "i915_drv.h"
#include "i915_gem_object.h"
#include "i915_scatterlist.h"
+#include "i915_trace.h"
/*
* Move pages to appropriate lru and release the pagevec, decrementing the