summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-03-03 20:19:31 +0200
committerJani Nikula <jani.nikula@intel.com>2022-03-04 11:15:25 +0200
commite9b67ec2d38aef0987975b95f57ac56947895819 (patch)
tree32d35a275103a369d44ec79633a39cac19f6c135 /drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
parent63a78bbb418c6e047bd002616bd4de9add0b6974 (diff)
downloadlinux-e9b67ec2d38aef0987975b95f57ac56947895819.tar.gz
linux-e9b67ec2d38aef0987975b95f57ac56947895819.tar.bz2
linux-e9b67ec2d38aef0987975b95f57ac56947895819.zip
drm/i915: include linux/highmem.h and linux/swap.h where needed
Include linux/highmem.h and linux/swap.h explicitly where needed so we can drop the linux/i2c.h include from i915_drv.h where it pulled in the dependencies implicitly. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220303181931.1661767-5-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c')
-rw-r--r--drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
index 76880fb8fc19..6ebda3d65086 100644
--- a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
+++ b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
@@ -3,6 +3,8 @@
* Copyright © 2008-2015 Intel Corporation
*/
+#include <linux/highmem.h>
+
#include "i915_drv.h"
#include "i915_reg.h"
#include "i915_scatterlist.h"