forked from Minki/linux
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
This commit is contained in:
parent
63a78bbb41
commit
e9b67ec2d3
@ -64,6 +64,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/log2.h>
|
||||
#include <linux/nospec.h>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/sched/mm.h>
|
||||
|
||||
#include <drm/drm_cache.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <linux/prime_numbers.h>
|
||||
#include <linux/string_helpers.h>
|
||||
#include <linux/swap.h>
|
||||
|
||||
#include "i915_selftest.h"
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
* Copyright © 2016 Intel Corporation
|
||||
*/
|
||||
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/prime_numbers.h>
|
||||
|
||||
#include "gem/i915_gem_internal.h"
|
||||
|
@ -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"
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/firmware.h>
|
||||
#include <linux/highmem.h>
|
||||
|
||||
#include <drm/drm_cache.h>
|
||||
#include <drm/drm_print.h>
|
||||
|
@ -25,6 +25,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <linux/highmem.h>
|
||||
|
||||
#include <drm/drm_cache.h>
|
||||
|
||||
#include "gt/intel_engine.h"
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
#include <asm/hypervisor.h>
|
||||
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/intel-iommu.h>
|
||||
#include <linux/pm_qos.h>
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/ascii85.h>
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/nmi.h>
|
||||
#include <linux/pagevec.h>
|
||||
#include <linux/scatterlist.h>
|
||||
|
Loading…
Reference in New Issue
Block a user