[Intel-xe] [PATCH v2 00/11] Frontbuffer tracking refactoring

Jouni Högander jouni.hogander at intel.com
Fri Sep 8 12:24:04 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.

v2:
  - xe_bo get/put handling changed

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 (11):
  drm/i915/display: Move releasing gem object away from fb tacking
  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

 .../gpu/drm/i915/display/intel_frontbuffer.c  | 27 +++----------------
 .../gpu/drm/i915/display/intel_frontbuffer.h  |  2 --
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  1 +
 .../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 +++
 8 files changed, 54 insertions(+), 26 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