Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: move I915_COLOR_UNEVICTABLE to i915_gem_gtt.h

Declutter i915_drv.h.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118131538.3558599-6-jani.nikula@intel.com

+2 -2
-2
drivers/gpu/drm/i915/i915_drv.h
··· 67 67 struct drm_i915_clock_gating_funcs; 68 68 struct vlv_s0ix_state; 69 69 70 - #define I915_COLOR_UNEVICTABLE (-1) /* a non-vma sharing the address space */ 71 - 72 70 #define GEM_QUIRK_PIN_SWIZZLED_PAGES BIT(0) 73 71 74 72 /* Data Stolen Memory (DSM) aka "i915 stolen memory" */
+2
drivers/gpu/drm/i915/i915_gem_gtt.h
··· 18 18 struct i915_address_space; 19 19 struct i915_gem_ww_ctx; 20 20 21 + #define I915_COLOR_UNEVICTABLE (-1) /* a non-vma sharing the address space */ 22 + 21 23 int __must_check i915_gem_gtt_prepare_pages(struct drm_i915_gem_object *obj, 22 24 struct sg_table *pages); 23 25 void i915_gem_gtt_finish_pages(struct drm_i915_gem_object *obj,