Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Keep device awake during GT TLB invalidations
@ 2024-07-18  6:55 Matthew Brost
  2024-07-18  6:55 ` [PATCH v2 1/3] drm/xe: Add xe_gt_tlb_invalidation_fence_init helper Matthew Brost
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matthew Brost @ 2024-07-18  6:55 UTC (permalink / raw)
  To: intel-xe; +Cc: nirmoy.das, rodrigo.vivi

Issue was raised in [1], attempt to fix this by holding PM ref when GT
TLB invalidations are in flight. An alternative solution could be hold a
PM ref when any H2G are inflight which expect a G2H.

Including two patches from [2] as they a prerequisite for this fix.

[1] https://patchwork.freedesktop.org/series/136145/
[2] https://patchwork.freedesktop.org/series/135809/

v2: Fix CI failure

Matthew Brost (3):
  drm/xe: Add xe_gt_tlb_invalidation_fence_init helper
  drm/xe: Drop xe_gt_tlb_invalidation_wait
  drm/xe: Hold a PM ref when GT TLB invalidations are inflight

 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c   | 201 ++++++++++--------
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h   |  12 +-
 .../gpu/drm/xe/xe_gt_tlb_invalidation_types.h |   4 +
 drivers/gpu/drm/xe/xe_pt.c                    |  26 +--
 drivers/gpu/drm/xe/xe_vm.c                    |  30 +--
 5 files changed, 142 insertions(+), 131 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-07-18  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-18  6:55 [PATCH v2 0/3] Keep device awake during GT TLB invalidations Matthew Brost
2024-07-18  6:55 ` [PATCH v2 1/3] drm/xe: Add xe_gt_tlb_invalidation_fence_init helper Matthew Brost
2024-07-18  6:55 ` [PATCH v2 2/3] drm/xe: Drop xe_gt_tlb_invalidation_wait Matthew Brost
2024-07-18  6:55 ` [PATCH v2 3/3] drm/xe: Hold a PM ref when GT TLB invalidations are inflight Matthew Brost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox