[Intel-xe] [PATCH 0/6] Backport patches reorganizing intel_frontbuffer.h/i915_gem_object.h

Jouni Högander jouni.hogander at intel.com
Fri Sep 15 10:57:18 UTC 2023


This patch set is backporting c1464a89e1a4 ("drm/i915: add minimal
i915_gem_object_frontbuffer.h") and replicating changes to Xe
frontbuffer code. This allows us dropping completely following patches:

c3e942a06433 (FIXME: drm/i915: include intel_frontbuffer.h from skl_universal_plane.c)
0300da12681b (FIXME: drm/i915/psr: include intel_frontbuffer.h from intel_psr.c)
57f941a90c2c (FIXME: drm/i915/drrs: include intel_frontbuffer.h from intel_drrs.c)

Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Jani Nikula (1):
  drm/i915: add minimal i915_gem_object_frontbuffer.h

Jouni Högander (5):
  Revert "FIXME: drm/i915: include intel_frontbuffer.h from
    skl_universal_plane.c"
  Revert "FIXME: drm/i915/psr: include intel_frontbuffer.h from
    intel_psr.c"
  Revert "FIXME: drm/i915/drrs: include intel_frontbuffer.h from
    intel_drrs.c"
  fixup! drm/i915/display: Move releasing gem object away from fb
    tracking
  fixup! drm/xe: Add frontbuffer setter/getter for xe_bo

 drivers/gpu/drm/i915/display/i9xx_plane.c     |   1 +
 .../gpu/drm/i915/display/intel_frontbuffer.c  |   1 +
 drivers/gpu/drm/i915/display/intel_overlay.c  |   1 +
 .../drm/i915/display/intel_plane_initial.c    |   1 +
 drivers/gpu/drm/i915/display/intel_sprite.c   |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c   |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c    |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c    |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  90 ---------------
 .../i915/gem/i915_gem_object_frontbuffer.h    | 104 ++++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_phys.c      |   1 +
 drivers/gpu/drm/i915/i915_gem.c               |   2 +-
 drivers/gpu/drm/i915/i915_vma.c               |   1 +
 .../gem/i915_gem_object_frontbuffer.h         |  12 ++
 drivers/gpu/drm/xe/xe_bo.h                    |   3 -
 15 files changed, 127 insertions(+), 97 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.h
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object_frontbuffer.h

-- 
2.34.1



More information about the Intel-xe mailing list