drm/i915/overlay: Convert to parent interface
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest19 patches 0 repliesNew
- v119 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | drm/i915/overlay: Remove GPU hang snapshot stuffdrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 2/19 | drm/i915/overlay: Track current frontbuffer_bitsdrivers/ | +12 | 0 replies | |
| 3/19 | drm/i915/overlay: Extract i915_overlay_is_active()drivers/ | +15 | 0 replies | |
| 4/19 | drm/i915/overlay: Remove redundant overlay->activedrivers/ | +1 | 0 replies | |
| 5/19 | drm/i915/overlay: Relocate the underrun checkdrivers/ | +7 | 0 replies | |
| 6/19 | drm/i915/overlay: Introduce i915_overlay_obj_lookup()drivers/ | +23 | 0 replies | |
| 7/19 | drm/i915/overlay: Use struct drm_gem_object as the typedrivers/ | +19 | 0 replies | |
| 8/19 | drm/i915/overlay: Extract i915_overlay_reset()drivers/ | +13 | 0 replies | |
| 9/19 | drm/i915/overlay: Extract i915_overlay_setup()drivers/ | +25 | 0 replies | |
| 10/19 | drm/i915/overlay: Extract i915_overlay_cleanup()drivers/ | +14 | 0 replies | |
| 11/19 | drm/i915/overlay: Abstract buffer (un)pinningdrivers/ | +17 | 0 replies | |
| 12/19 | drm/i915/overlay: Rename low level i915 specific functionsdrivers/ | +14 | 0 replies | |
| 13/19 | drm/i915/overlay: Adjust i915 specific interfacesdrivers/ | +29 | 0 replies | |
| 14/19 | drm/i915/overlay: Make i830_overlay_clock_gating() i915 specificdrivers/ | +15 | 0 replies | |
| 15/19 | drm/i915/overlay: s/dev_priv/i915/drivers/ | +2 | 0 replies | |
| 16/19 | drm/i915/overlay: Split 'struct intel_overlay'drivers/ drivers/ | +81 | 0 replies | |
| 17/19 | drm/i915/overlay: Don't use fetch_and_zero() in display codedrivers/ | +2 | 1 reply | |
| 18/19 | drm/i915/overlay: Move i915 specific code into i915_overlay.cdrivers/ drivers/ drivers/ +3 more | +550 | 1 reply | |
| 19/19 | drm/i915/overlay: Convert overlay to parent interfacedrivers/ drivers/ drivers/ +6 more | +194 | 1 reply |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by.
| Patch | Jani Nikula |
|---|---|
| 1/19 | R-b |
| 2/19 | R-b |
| 3/19 | R-b |
| 4/19 | R-b |
| 5/19 | R-b |
| 6/19 | R-b |
| 7/19 | R-b |
| 8/19 | R-b |
| 9/19 | R-b |
| 10/19 | R-b |
| 11/19 | R-b |
| 12/19 | R-b |
| 13/19 | R-b |
| 14/19 | R-b |
| 15/19 | R-b |
| 16/19 | R-b |
| 17/19 | R-b R-b |
| 18/19 | R-b R-b |
| 19/19 | R-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/19] drm/i915/overlay: Convert to parent interface
From: Ville Syrjälä <[email protected]>
Split the overlay code into i915 vs. display parts and introduce and new parent interface for the display->i915 calls.
The interface is rather verbose due to the interruptible ioctl design of the overlay code. Ideally we'd implement the overlay as a drm plane and tell it to flip via MMIO writes to OVADD, at which point the parent interface could be limited to just two functions to repartition the render cache as needed. Maybe one day...
Smoke tested on i830 and i965gm.
v2: Deal with the IS_ERR() screwup
Rebase due to kmalloc_obj() & co.
Ville Syrjälä (19):
drm/i915/overlay: Remove GPU hang snapshot stuff drm/i915/overlay: Track current frontbuffer_bits drm/i915/overlay: Extract i915_overlay_is_active() drm/i915/overlay: Remove redundant overlay->active drm/i915/overlay: Relocate the underrun check drm/i915/overlay: Introduce i915_overlay_obj_lookup() drm/i915/overlay: Use struct drm_gem_object as the type drm/i915/overlay: Extract i915_overlay_reset() drm/i915/overlay: Extract i915_overlay_setup() drm/i915/overlay: Extract i915_overlay_cleanup() drm/i915/overlay: Abstract buffer (un)pinning drm/i915/overlay: Rename low level i915 specific functions drm/i915/overlay: Adjust i915 specific interfaces drm/i915/overlay: Make i830_overlay_clock_gating() i915 specific drm/i915/overlay: s/dev_priv/i915/
drm/i915/overlay: Split 'struct intel_overlay' drm/i915/overlay: Don't use fetch_and_zero() in display code drm/i915/overlay: Move i915 specific code into i915_overlay.c drm/i915/overlay: Convert overlay to parent interface
drivers/gpu/drm/i915/Makefile | 1 + .../gpu/drm/i915/display/intel_display_regs.h | 2 - .../drm/i915/display/intel_display_snapshot.c | 4 - drivers/gpu/drm/i915/display/intel_overlay.c | 584 ++---------------- drivers/gpu/drm/i915/display/intel_overlay.h | 48 -- drivers/gpu/drm/i915/display/intel_parent.c | 76 +++ drivers/gpu/drm/i915/display/intel_parent.h | 26 + drivers/gpu/drm/i915/i915_driver.c | 2 + drivers/gpu/drm/i915/i915_drv.h | 3 + drivers/gpu/drm/i915/i915_overlay.c | 517 ++++++++++++++++ drivers/gpu/drm/i915/i915_overlay.h | 11 + drivers/gpu/drm/i915/i915_reg.h | 4 + drivers/gpu/drm/xe/Makefile | 1 + include/drm/intel/display_parent_interface.h | 33 + 14 files changed, 726 insertions(+), 586 deletions(-) create mode 100644 drivers/gpu/drm/i915/i915_overlay.c create mode 100644 drivers/gpu/drm/i915/i915_overlay.h
Signature · 1 line
2.52.0