drm/i915/frontbuffer: Fix the intel_frontbuffer lifetime mess
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 14 repliesIn review
- v110 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/i915/overlay: Drop the DIRTYFB flushdrivers/ | +0 | 0 replies | |
| 2/10 | drm/i915/overlay: Switch to intel_frontbuffer_flip()drivers/ | +1 | 0 replies | |
| 3/10 | drm/i915/frontbuffer: Nuke intel_frontbuffer_flip_{prepare, complete}()drivers/ drivers/ drivers/ +1 more | +1 | 2 replies | |
| 4/10 | drm/i915/frontbuffer: Turn intel_bo_flush_if_display() into a frontbuffer operationdrivers/ drivers/ drivers/ +2 more | +12 | 1 reply | |
| 5/10 | drm/i915/frontbuffer: Handle the dirtyfb cache flush inside intel_frontbuffer_flush()drivers/ drivers/ | +3 | 1 reply | |
| 6/10 | drm/i915/frontbuffef: Split fb_tracking.lock into twodrivers/ drivers/ drivers/ +1 more | +11 | 1 reply | |
| 7/10 | drm/i915/frontbuffer: Extract intel_frontbuffer_ref()drivers/ | +6 | 1 reply | |
| 8/10 | drm/i915/frontbuffer: Add intel_frontbuffer::displaydrivers/ drivers/ | +9 | 2 replies | |
| 9/10 | drm/i915/frontbuffer: Fix intel_frontbuffer lifetime handlingdrivers/ drivers/ drivers/ +13 more | +227 | 5 replies | |
| 10/10 | drm/i915/gem: s/i915_gem_object_get_frontbuffer/i915_gem_object_frontbuffer_lookup/drivers/ drivers/ drivers/ +1 more | +7 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Jani Nikula |
|---|---|
| 1/10 | A-b |
| 2/10 | A-b |
| 3/10 | A-b R-b |
| 4/10 | A-b R-b |
| 5/10 | A-b R-b |
| 6/10 | A-b R-b |
| 7/10 | A-b R-b |
| 8/10 | A-b R-b |
| 9/10 | A-b |
| 10/10 | A-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] drm/i915/frontbuffer: Fix the intel_frontbuffer lifetime mess
From: Ville Syrjälä <[email protected]>
The attempted piecemeal intel_frontbuffer split between i915 and xe is not good. Redo it with a bigger shovel.
v2: Rebase
Ville Syrjälä (10):
drm/i915/overlay: Drop the DIRTYFB flush
drm/i915/overlay: Switch to intel_frontbuffer_flip() drm/i915/frontbuffer: Nuke intel_frontbuffer_flip_{prepare,complete}() drm/i915/frontbuffer: Turn intel_bo_flush_if_display() into a
frontbuffer operation
drm/i915/frontbuffer: Handle the dirtyfb cache flush inside
intel_frontbuffer_flush()
drm/i915/frontbuffef: Split fb_tracking.lock into two drm/i915/frontbuffer: Extract intel_frontbuffer_ref() drm/i915/frontbuffer: Add intel_frontbuffer::display drm/i915/frontbuffer: Fix intel_frontbuffer lifetime handling drm/i915/gem:
s/i915_gem_object_get_frontbuffer/i915_gem_object_frontbuffer_lookup/
drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_bo.c | 40 +++-- drivers/gpu/drm/i915/display/intel_bo.h | 8 +- .../gpu/drm/i915/display/intel_display_core.h | 5 +- .../drm/i915/display/intel_display_debugfs.c | 3 - drivers/gpu/drm/i915/display/intel_fb.c | 1 - .../gpu/drm/i915/display/intel_frontbuffer.c | 155 +++--------------- .../gpu/drm/i915/display/intel_frontbuffer.h | 18 +- drivers/gpu/drm/i915/display/intel_overlay.c | 6 +- drivers/gpu/drm/i915/gem/i915_gem_object.c | 16 +- .../i915/gem/i915_gem_object_frontbuffer.c | 103 ++++++++++++ .../i915/gem/i915_gem_object_frontbuffer.h | 54 ++---- .../gpu/drm/i915/gem/i915_gem_object_types.h | 2 +- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_gem.c | 2 + drivers/gpu/drm/i915/i915_vma.c | 8 +- .../gpu/drm/xe/compat-i915-headers/i915_vma.h | 2 - drivers/gpu/drm/xe/display/intel_bo.c | 60 ++++++- 18 files changed, 257 insertions(+), 229 deletions(-) create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.c
Signature · 1 line
2.49.1