drm/i915: move I915_GEM_GPU_DOMAINS to i915_gem.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 18 Jan 2023 13:15:36 +0000 (15:15 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 20 Jan 2023 08:14:31 +0000 (10:14 +0200)
Declutter i915_drv.h.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118131538.3558599-5-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.h

index 60661d8..00fa754 100644 (file)
 struct drm_i915_clock_gating_funcs;
 struct vlv_s0ix_state;
 
-#define I915_GEM_GPU_DOMAINS \
-       (I915_GEM_DOMAIN_RENDER | \
-        I915_GEM_DOMAIN_SAMPLER | \
-        I915_GEM_DOMAIN_COMMAND | \
-        I915_GEM_DOMAIN_INSTRUCTION | \
-        I915_GEM_DOMAIN_VERTEX)
-
 #define I915_COLOR_UNEVICTABLE (-1) /* a non-vma sharing the address space */
 
 #define GEM_QUIRK_PIN_SWIZZLED_PAGES   BIT(0)
index a5cdf66..82e9d28 100644 (file)
@@ -39,6 +39,13 @@ struct i915_gem_ww_ctx;
 struct i915_gtt_view;
 struct i915_vma;
 
+#define I915_GEM_GPU_DOMAINS          \
+       (I915_GEM_DOMAIN_RENDER |      \
+        I915_GEM_DOMAIN_SAMPLER |     \
+        I915_GEM_DOMAIN_COMMAND |     \
+        I915_GEM_DOMAIN_INSTRUCTION | \
+        I915_GEM_DOMAIN_VERTEX)
+
 void i915_gem_init_early(struct drm_i915_private *i915);
 void i915_gem_cleanup_early(struct drm_i915_private *i915);