diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-09-30 17:59:58 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2026-10-01 12:26:54 +0300 |
| commit | fe05df7a540aaf940d294cad137b0ae8bb578387 (patch) | |
| tree | 4c32534f256a6617a8ae58dd438e6a38130d0346 /include/drm/intel | |
| parent | 042b855e19f336c8526c4cf2a107c5279735a4a0 (diff) | |
| download | linux-next-fe05df7a540aaf940d294cad137b0ae8bb578387.tar.gz linux-next-fe05df7a540aaf940d294cad137b0ae8bb578387.zip | |
drm/intel: rename i915_gtt_view_is_*() helpers to intel_gtt_view_is_*()
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 <dev@lankhorst.se>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/8230339be1738a1f7c87047f2516dfa66b03d9aa.1790780340.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'include/drm/intel')
| -rw-r--r-- | include/drm/intel/gtt_view_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
