summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.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/gem/i915_gem_execbuffer.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/gem/i915_gem_execbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index d42f437149c9..b9427d82bbc7 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -4,8 +4,9 @@
* Copyright © 2008,2010 Intel Corporation
*/
-#include <linux/intel-iommu.h>
#include <linux/dma-resv.h>
+#include <linux/highmem.h>
+#include <linux/intel-iommu.h>
#include <linux/sync_file.h>
#include <linux/uaccess.h>