]> www.infradead.org Git - users/hch/configfs.git/commitdiff
drm/i915/display: include gem/i915_gem_stolen.h where needed
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 May 2024 17:48:05 +0000 (20:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2024 12:59:08 +0000 (15:59 +0300)
Include what you use. We need to move the compat i915_gem_stolen.h under
gem 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/6ac3480a8689fda5aaf4007cb604e06e939a03f7.1717004739.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h [moved from drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h with 100% similarity]
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h

index e9189a864f696bc5ffa718ee1ffa53f2589b40a6..6985abeb6102f98efc5a657d1dcb4e5f0d54029e 100644 (file)
@@ -43,6 +43,7 @@
 #include <drm/drm_blend.h>
 #include <drm/drm_fourcc.h>
 
+#include "gem/i915_gem_stolen.h"
 #include "i915_drv.h"
 #include "i915_reg.h"
 #include "i915_utils.h"
index ffaa4d2f1eed3d25fde17009af66ab8267d69978..0675c50edc6fb805d35610a2701590c2b665c204 100644 (file)
@@ -19,7 +19,6 @@
 #include "xe_bo.h"
 #include "xe_pm.h"
 #include "xe_step.h"
-#include "i915_gem_stolen.h"
 #include "i915_gpu_error.h"
 #include "i915_reg_defs.h"
 #include "i915_utils.h"