From: Matthew Brost <matthew.brost@intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [PATCH v2 2/7] drm/xe: Remove redundant rebind from preempt rebind worker
Date: Tue, 12 Nov 2024 13:55:48 -0800 [thread overview]
Message-ID: <20241112215553.1369146-3-matthew.brost@intel.com> (raw)
In-Reply-To: <20241112215553.1369146-1-matthew.brost@intel.com>
We issue a rebind in xe_preempt_work_begin so no need to call
xe_vm_rebind again in the preempt rebind worker.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
drivers/gpu/drm/xe/xe_vm.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 624133fae5f5..756c72cd6048 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -525,10 +525,6 @@ static void preempt_rebind_work_func(struct work_struct *w)
if (err)
goto out_unlock;
- err = xe_vm_rebind(vm, true);
- if (err)
- goto out_unlock;
-
/* Wait on rebinds and munmap style VM unbinds */
wait = dma_resv_wait_timeout(xe_vm_resv(vm),
DMA_RESV_USAGE_KERNEL,
--
2.34.1
next prev parent reply other threads:[~2024-11-12 21:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 21:55 [PATCH v2 0/7] Devcoredump Improvements Matthew Brost
2024-11-12 21:55 ` [PATCH v2 1/7] drm/xe: Add xe_ring_lrc_is_idle() helper Matthew Brost
2024-11-12 21:55 ` Matthew Brost [this message]
2024-11-12 21:55 ` [PATCH v2 3/7] drm/xe: Add ring address to LRC snapshot Matthew Brost
2024-11-12 21:55 ` [PATCH v2 4/7] drm/xe: Add ring start " Matthew Brost
2024-11-12 21:55 ` [PATCH v2 5/7] drm/xe: Improve schedule disable response failure Matthew Brost
2024-11-12 21:55 ` [PATCH v2 6/7] drm/xe: Add exec queue param to devcoredump Matthew Brost
2024-11-12 21:55 ` [PATCH v2 7/7] drm/xe: Change xe_engine_snapshot_capture_for_job to be for queue Matthew Brost
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=20241112215553.1369146-3-matthew.brost@intel.com \
--to=matthew.brost@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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