From fe05df7a540aaf940d294cad137b0ae8bb578387 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 30 Sep 2026 17:59:58 +0300 Subject: drm/intel: rename i915_gtt_view_is_*() helpers to intel_gtt_view_is_*() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the i915_gtt_view_is_*() helpers less i915 specific, and rename them intel_gtt_view_is_*(). $ sed -i 's/i915_gtt_view_is_/intel_gtt_view_is_/g' -- $(git grep -l i915_gtt_view_is_) Reviewed-by: Maarten Lankhorst Reviewed-by: Ville Syrjälä Link: https://patch.msgid.link/8230339be1738a1f7c87047f2516dfa66b03d9aa.1790780340.git.jani.nikula@intel.com Signed-off-by: Jani Nikula --- include/drm/intel/gtt_view_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/drm/intel/gtt_view_types.h b/include/drm/intel/gtt_view_types.h index 5770fc53b823..61d2289a8921 100644 --- a/include/drm/intel/gtt_view_types.h +++ b/include/drm/intel/gtt_view_types.h @@ -56,17 +56,17 @@ struct i915_gtt_view { }; }; -static inline bool i915_gtt_view_is_normal(const struct i915_gtt_view *view) +static inline bool intel_gtt_view_is_normal(const struct i915_gtt_view *view) { return view->type == I915_GTT_VIEW_NORMAL; } -static inline bool i915_gtt_view_is_remapped(const struct i915_gtt_view *view) +static inline bool intel_gtt_view_is_remapped(const struct i915_gtt_view *view) { return view->type == I915_GTT_VIEW_REMAPPED; } -static inline bool i915_gtt_view_is_rotated(const struct i915_gtt_view *view) +static inline bool intel_gtt_view_is_rotated(const struct i915_gtt_view *view) { return view->type == I915_GTT_VIEW_ROTATED; } -- cgit v1.2.3