]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: split out i915_gtt_view_types.h from i915_vma_types.h
authorJani Nikula <jani.nikula@intel.com>
Mon, 24 Feb 2025 16:00:49 +0000 (18:00 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Mar 2025 11:44:53 +0000 (13:44 +0200)
commit767bb0b172fcfe62000265c91c4a84837d2428a7
tree94ac5fdfc74be465b727c76096e551d31b6e6341
parent7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665
drm/i915: split out i915_gtt_view_types.h from i915_vma_types.h

In the interest of limiting the display dependencies on i915 core
headers, split out i915_gtt_view_types.h from i915_vma_types.h, and only
include the new header from intel_display_types.h.

Reuse the new header from xe compat code too, failing build if partial
view is used in display code.

Side note: Why would we ever have set enum i915_gtt_view_type values to
size of each type?! What an insane hack.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/bb31885c32dbddad76d634c6fdb98a73b546b42e.1740412806.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/i915_gtt_view_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_vma_types.h
drivers/gpu/drm/xe/compat-i915-headers/i915_gtt_view_types.h [new file with mode: 0644]
drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h [deleted file]