]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/display: include gt/intel_gt_types.h where needed
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 May 2024 17:48:06 +0000 (20:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2024 12:59:29 +0000 (15:59 +0300)
Include what you use. We need to move the compat intel_gt_types.h under
gt subdir. With this, we can drop the include from xe compat i915_drv.h.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/df73c0934ad21f157714a41b33b81cebd2a523a6.1717004739.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/xe/compat-i915-headers/gt/intel_gt_types.h [moved from drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h with 100% similarity]
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h

index 6985abeb6102f98efc5a657d1dcb4e5f0d54029e..8e956e7a196408b4159f887e0be4a856ee26375c 100644 (file)
@@ -44,6 +44,7 @@
 #include <drm/drm_fourcc.h>
 
 #include "gem/i915_gem_stolen.h"
+#include "gt/intel_gt_types.h"
 #include "i915_drv.h"
 #include "i915_reg.h"
 #include "i915_utils.h"
index 0675c50edc6fb805d35610a2701590c2b665c204..f976588ed628978bc0a7d7258df08d44fc2f4f92 100644 (file)
@@ -22,7 +22,6 @@
 #include "i915_gpu_error.h"
 #include "i915_reg_defs.h"
 #include "i915_utils.h"
-#include "intel_gt_types.h"
 #include "intel_step.h"
 #include "intel_uncore.h"
 #include "intel_runtime_pm.h"