]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: move GEM_QUIRK_PIN_SWIZZLED_PAGES to i915_gem.h
authorKrzysztof Karas <krzysztof.karas@intel.com>
Wed, 18 Jun 2025 13:52:22 +0000 (13:52 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 27 Jun 2025 06:15:32 +0000 (08:15 +0200)
Move this macro where other GEM_* definitions live.
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/all/ca83a9d8aa86bb92de84c31fd075e92a61f78895.1750251040.git.krzysztof.karas@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.h

index 626743462989973102f5c8ebdfe62c3377d92e09..37a1486cba15fbcb882488e87270f559bcf47587 100644 (file)
@@ -66,8 +66,6 @@ struct drm_i915_clock_gating_funcs;
 struct vlv_s0ix_state;
 struct intel_pxp;
 
-#define GEM_QUIRK_PIN_SWIZZLED_PAGES   BIT(0)
-
 /* Data Stolen Memory (DSM) aka "i915 stolen memory" */
 struct i915_dsm {
        /*
index 82e9d289398cc399efd2fdf0902e6cd7cbd72cd7..20b3cb29cfffa2050030c8c50983e7fb08b6141d 100644 (file)
@@ -134,4 +134,6 @@ int i915_gem_open(struct drm_i915_private *i915, struct drm_file *file);
 
 #define I915_GEM_IDLE_TIMEOUT (HZ / 5)
 
+#define GEM_QUIRK_PIN_SWIZZLED_PAGES   BIT(0)
+
 #endif /* __I915_GEM_H__ */