Skip to content

Frontbuffer tracking refactoring

Jouni Högander intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 6 repliesIn review
  2. v211 patches 0 repliesSuperseded
  3. v112 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- drop reference counting from xe frontbuffer set implementation

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/i915/display: Move releasing gem object away from fb trackingdrivers/gpu/drm/i915/display/intel_frontbuffer.c drivers/gpu/drm/i915/gem/i915_gem_object.h+1 -20 replies
2/12drm/i915: Ignore set frontbuffer return value on releasedrivers/gpu/drm/i915/display/intel_frontbuffer.c+1 -12 replies
3/12fixup! drm/i915/display: Remaining changes to make xe compiledrivers/gpu/drm/i915/display/intel_frontbuffer.c+0 -40 replies
4/12drm/xe: Add macro to get i915 device from xe_bodrivers/gpu/drm/xe/xe_bo_types.h+3 -00 replies
5/12fixup! drm/i915/display: Remaining changes to make xe compiledrivers/gpu/drm/i915/display/intel_frontbuffer.c+4 -120 replies
6/12drm/xe: Add frontbuffer setter/getter for xe_bodrivers/gpu/drm/xe/xe_bo.h+3 -00 replies
7/12fixup! drm/i915/display: Remaining changes to make xe compiledrivers/gpu/drm/i915/display/intel_frontbuffer.c drivers/gpu/drm/i915/display/intel_frontbuffer.h+0 -80 replies
8/12drm/xe: Add i915_active.h compatibility headerdrivers/gpu/drm/xe/compat-i915-headers/i915_active.h+22 -00 replies
9/12drm/xe/display: Include i916_active headerdrivers/gpu/drm/i915/display/intel_frontbuffer.c+1 -02 replies
10/12drm/xe: Add struct i915_active for Xedrivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h+13 -00 replies
11/12fixup! drm/i915/display: Remaining changes to make xe compiledrivers/gpu/drm/i915/display/intel_frontbuffer.c+0 -20 replies
12/12drm/xe: Add empty define for i915_ggtt_clear_scanoutdrivers/gpu/drm/xe/compat-i915-headers/i915_vma.h+2 -00 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaarten Lankhorst
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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.

v3:
- drop reference counting from xe frontbuffer set implementation
v2:
- xe_bo get/put handling changed

Cc Maarten Lankhorst <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Rodrigo Vivi <[email protected]>

Jouni Högander (12):
drm/i915/display: Move releasing gem object away from fb tracking drm/i915: Ignore set frontbuffer return value on release 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  | 29 +++----------------
 .../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                    |  3 ++
 drivers/gpu/drm/xe/xe_bo_types.h              |  3 ++
 8 files changed, 48 insertions(+), 27 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
Signature · 1 line
2.34.1