[Intel-xe] [PATCH 00/12] Frontbuffer tracking refactoring

Jouni Högander jouni.hogander at intel.com
Fri Aug 25 09:38:52 UTC 2023


These patches are cleaning up all #ifdefs added into
intel_frontbuffer.[ch] for Xe build. I915 part of the refactoring is
already merged into drm-tip and these patches are implementing or
adding empty defines for Xe.

Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Uma Shankar <uma.shankar at intel.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>

Jouni Högander (12):
  fixup! drm/i915/display: Remaining changes to make xe compile
  drm/xe: Add macro to get i915 device from xe_bo
  fixup! drm/i915/display: Remaining changes to make xe compile
  drm/xe: Add frontbuffer setter/getter for xe_bo
  fixup! drm/i915/display: Remaining changes to make xe compile
  drm/xe: Add i915_active.h compatibility header
  drm/xe/display: Include i916_active header
  drm/xe: Add struct i915_active for Xe
  fixup! drm/i915/display: Remaining changes to make xe compile
  drm/xe: Add empty define for i915_ggtt_clear_scanout
  fixup! drm/i915/display: Remaining changes to make xe compile
  drm/i915/display: Use drm_gem_object_get/put

 .../gpu/drm/i915/display/intel_frontbuffer.c  | 28 ++++---------------
 .../gpu/drm/i915/display/intel_frontbuffer.h  |  2 --
 .../drm/xe/compat-i915-headers/i915_active.h  | 22 +++++++++++++++
 .../compat-i915-headers/i915_active_types.h   | 13 +++++++++
 .../gpu/drm/xe/compat-i915-headers/i915_vma.h |  2 ++
 drivers/gpu/drm/xe/xe_bo.h                    | 10 +++++++
 drivers/gpu/drm/xe/xe_bo_types.h              |  3 ++
 7 files changed, 55 insertions(+), 25 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_active.h

-- 
2.34.1



More information about the Intel-xe mailing list