All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] drm/xe: More fb pinning optimizations.
@ 2024-05-06 10:36 Maarten Lankhorst
  2024-05-06 10:36 ` [PATCH v4 1/4] drm/xe: Remove safety check from __xe_ttm_stolen_io_mem_reserve_stolen Maarten Lankhorst
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Maarten Lankhorst @ 2024-05-06 10:36 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst

This reduces the latency of pinning framebuffers by
re-using the previous mapping, if available.

Additionally, DPT is preallocated when creating the FB, instead
of performing a bo allocation on every pin.

No changes since v3, just a rebase from conflicts.

Maarten Lankhorst (4):
  drm/xe: Remove safety check from __xe_ttm_stolen_io_mem_reserve_stolen
  drm/xe/display: Preparations for preallocating dpt bo
  drm/xe: Use simple xchg to cache DPT
  drm/xe/display: Re-use display vmas when possible

 .../gpu/drm/i915/display/intel_atomic_plane.c |   2 +-
 drivers/gpu/drm/i915/display/intel_cursor.c   |   2 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.c   |   3 +-
 drivers/gpu/drm/i915/display/intel_fb_pin.h   |   3 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c    |   5 +
 drivers/gpu/drm/i915/display/intel_fbdev.h    |   8 +
 .../gpu/drm/xe/compat-i915-headers/i915_vma.h |   3 +
 drivers/gpu/drm/xe/display/xe_fb_pin.c        | 220 ++++++++++++++----
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c        |   4 -
 9 files changed, 197 insertions(+), 53 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-05-10  1:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 10:36 [PATCH v4 0/4] drm/xe: More fb pinning optimizations Maarten Lankhorst
2024-05-06 10:36 ` [PATCH v4 1/4] drm/xe: Remove safety check from __xe_ttm_stolen_io_mem_reserve_stolen Maarten Lankhorst
2024-05-10  1:41   ` Rodrigo Vivi
2024-05-06 10:36 ` [PATCH v4 2/4] drm/xe/display: Preparations for preallocating dpt bo Maarten Lankhorst
2024-05-10  1:45   ` Rodrigo Vivi
2024-05-06 10:36 ` [PATCH v4 3/4] drm/xe: Use simple xchg to cache DPT Maarten Lankhorst
2024-05-06 10:36 ` [PATCH v4 4/4] drm/xe/display: Re-use display vmas when possible Maarten Lankhorst
2024-05-06 11:14 ` ✓ CI.Patch_applied: success for drm/xe: More fb pinning optimizations Patchwork
2024-05-06 11:14 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-06 11:15 ` ✓ CI.KUnit: success " Patchwork
2024-05-06 11:28 ` ✓ CI.Build: " Patchwork
2024-05-06 11:31 ` ✓ CI.Hooks: " Patchwork
2024-05-06 11:32 ` ✗ CI.checksparse: warning " Patchwork
2024-05-06 11:41 ` ✗ Fi.CI.CHECKPATCH: " Patchwork
2024-05-06 11:47 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-06 12:11 ` ✓ CI.BAT: " Patchwork
2024-05-06 13:22 ` ✗ CI.FULL: failure " Patchwork
2024-05-06 16:16 ` ✓ Fi.CI.IGT: success " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.