]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/compat: remove i915_vma.h from compat
authorJani Nikula <jani.nikula@intel.com>
Fri, 27 Feb 2026 17:17:13 +0000 (19:17 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 3 Mar 2026 14:05:58 +0000 (16:05 +0200)
commitcb0f3a171f197325f0831d7d9b0c5388dae0608f
tree6831b598e8d000831994984ff45649c31a787cb1
parentdc5f903b3ab6675721c8aa943d5cd0cb5ca2f5c8
drm/xe/compat: remove i915_vma.h from compat

Move compat i915_vma.h to xe_display_vma.h, and remove all extra
cruft. Drop the i915_ggtt_offset() wrapper in favour of using
xe_ggtt_node_addr() directly.

The usefulness of the I915_TILING_X and I915_TILING_Y undef/define is
unclear, since uapi/drm/i915_drm.h is included in other paths as well.

The naming of struct i915_vma is a bit unfortunate in xe, but (at least
for now) a necessity for maintaining type safety on the opaque type.

Reviewed-by: MichaƂ Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/ecd5d75981b4b21c3da3b1831faceccfe385d898.1772212579.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h [deleted file]
drivers/gpu/drm/xe/display/xe_display_vma.h [new file with mode: 0644]
drivers/gpu/drm/xe/display/xe_fb_pin.c
drivers/gpu/drm/xe/display/xe_initial_plane.c