drm/xe/compat: refactor compat i915_drv.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 5 Mar 2025 16:38:22 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 7 Mar 2025 09:36:07 +0000 (11:36 +0200)
commit2fff55d499eea7c61a2671c5d7394e9c62995d9f
tree1fcd3afad199b04007b04fd444b279495a39b27d
parentfb64f5568c0e0b5730733d70a012ae26b1a55815
drm/xe/compat: refactor compat i915_drv.h

The compat i915_drv.h contains things that aren't there in the original
i915_drv.h. Split out gem/i915_gem_object.h and i915_scheduler_types.h,
moving the corresponding pieces out, including FORCEWAKE_ALL to
intel_uncore.h.

Technically I915_PRIORITY_DISPLAY should be in i915_priolist_types.h,
but it's a bit overkill to split out another file just for
that. i915_scheduler_types.h shall do.

With this, the compat i915_drv.h becomes a strict subset of the
original.

Reviewed-by: Nemesa Garg <nemesa.garg@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d6bd95bf52aa37f48ddec3e675b7a3cc66829eef.1741192597.git.jani.nikula@intel.com
[Jani: fix i915_gem_object.h header guard while applying]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h [new file with mode: 0644]
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
drivers/gpu/drm/xe/compat-i915-headers/i915_scheduler_types.h [new file with mode: 0644]
drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h