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
This commit is contained in:
Jani Nikula 2022-02-10 17:45:48 +02:00
parent 5472b3f2d9
commit 5f2ec9095c
14 changed files with 25 additions and 2 deletions

View File

@ -4,6 +4,8 @@
* Copyright © 2016 Intel Corporation
*/
#include <drm/drm_cache.h>
#include "display/intel_frontbuffer.h"
#include "i915_drv.h"

View File

@ -67,6 +67,7 @@
#include <linux/log2.h>
#include <linux/nospec.h>
#include <drm/drm_cache.h>
#include <drm/drm_syncobj.h>
#include "gt/gen6_ppgtt.h"

View File

@ -9,6 +9,8 @@
#include <linux/pfn_t.h>
#include <linux/sizes.h>
#include <drm/drm_cache.h>
#include "gt/intel_gt.h"
#include "gt/intel_gt_requests.h"

View File

@ -24,6 +24,8 @@
#include <linux/sched/mm.h>
#include <drm/drm_cache.h>
#include "display/intel_frontbuffer.h"
#include "pxp/intel_pxp.h"

View File

@ -4,6 +4,8 @@
* Copyright © 2014-2016 Intel Corporation
*/
#include <drm/drm_cache.h>
#include "i915_drv.h"
#include "i915_gem_object.h"
#include "i915_scatterlist.h"

View File

@ -7,6 +7,8 @@
#include <linux/pagevec.h>
#include <linux/swap.h>
#include <drm/drm_cache.h>
#include "gem/i915_gem_region.h"
#include "i915_drv.h"
#include "i915_gemfs.h"

View File

@ -3,6 +3,8 @@
* Copyright © 2008-2021 Intel Corporation
*/
#include <drm/drm_cache.h>
#include "gem/i915_gem_internal.h"
#include "gen2_engine_cs.h"

View File

@ -3,6 +3,8 @@
* Copyright © 2016-2018 Intel Corporation
*/
#include <drm/drm_cache.h>
#include "gem/i915_gem_internal.h"
#include "i915_active.h"

View File

@ -3,6 +3,8 @@
* Copyright © 2021 Intel Corporation
*/
#include <drm/drm_cache.h>
#include "i915_drv.h"
#include "i915_reg.h"
#include "intel_guc_slpc.h"

View File

@ -5,6 +5,8 @@
#include <linux/bitfield.h>
#include <linux/firmware.h>
#include <drm/drm_cache.h>
#include <drm/drm_print.h>
#include "gem/i915_gem_lmem.h"

View File

@ -25,6 +25,8 @@
*
*/
#include <drm/drm_cache.h>
#include "gt/intel_engine.h"
#include "gt/intel_engine_regs.h"
#include "gt/intel_gpu_commands.h"

View File

@ -51,7 +51,6 @@
#include <drm/drm_gem.h>
#include <drm/drm_auth.h>
#include <drm/drm_cache.h>
#include <drm/drm_util.h>
#include <drm/drm_dsc.h>
#include <drm/drm_atomic.h>

View File

@ -25,7 +25,6 @@
*
*/
#include <drm/drm_vma_manager.h>
#include <linux/dma-fence-array.h>
#include <linux/kthread.h>
#include <linux/dma-resv.h>
@ -37,6 +36,9 @@
#include <linux/dma-buf.h>
#include <linux/mman.h>
#include <drm/drm_cache.h>
#include <drm/drm_vma_manager.h>
#include "display/intel_display.h"
#include "display/intel_frontbuffer.h"

View File

@ -34,6 +34,7 @@
#include <linux/utsname.h>
#include <linux/zlib.h>
#include <drm/drm_cache.h>
#include <drm/drm_print.h>
#include "display/intel_dmc.h"