Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Brost <matthew.brost@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: nirmoy.das@intel.com, rodrigo.vivi@intel.com
Subject: [PATCH v3 0/3] Keep device awake during GT TLB invalidations
Date: Wed, 17 Jul 2024 23:59:32 -0700	[thread overview]
Message-ID: <20240718065935.1451330-1-matthew.brost@intel.com> (raw)

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
v3: send correct patches

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                    |  32 +--
 5 files changed, 143 insertions(+), 132 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-07-18  6:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18  6:59 Matthew Brost [this message]
2024-07-18  6:59 ` [PATCH v3 1/3] drm/xe: Add xe_gt_tlb_invalidation_fence_init helper Matthew Brost
2024-07-18  6:59 ` [PATCH v3 2/3] drm/xe: Drop xe_gt_tlb_invalidation_wait Matthew Brost
2024-07-18  6:59 ` [PATCH v3 3/3] drm/xe: Hold a PM ref when GT TLB invalidations are inflight Matthew Brost
2024-07-18 12:45   ` Nirmoy Das
2024-07-18  7:09 ` ✓ CI.Patch_applied: success for Keep device awake during GT TLB invalidations (rev3) Patchwork
2024-07-18  7:09 ` ✓ CI.checkpatch: " Patchwork
2024-07-18  7:11 ` ✓ CI.KUnit: " Patchwork
2024-07-18  7:23 ` ✓ CI.Build: " Patchwork
2024-07-18  7:25 ` ✓ CI.Hooks: " Patchwork
2024-07-18  7:27 ` ✓ CI.checksparse: " Patchwork
2024-07-18  7:47 ` ✓ CI.BAT: " Patchwork
2024-07-18 10:26 ` ✗ CI.FULL: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240718065935.1451330-1-matthew.brost@intel.com \
    --to=matthew.brost@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=nirmoy.das@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox