drm/xe: Hold a fence reference while waiting for migration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/xe: Hold a fence reference while waiting for migrationdrivers/ | +10 | 0 replies | |
| 2/2 | drm/xe: Centralize migration fence updatesdrivers/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drm/xe: Hold a fence reference while waiting for migration
This series addresses a potential race between xe_migrate_wait() and migration submissions replacing m->fence.
Patch 1 takes a fence reference under job_mutex, then waits outside the lock. Patch 2 centralizes fence replacement in a helper, documents the access rules, and uses scoped_guard when taking the waiter's reference.
Bommu Krishnaiah (2):
drm/xe: Hold a fence reference while waiting for migration drm/xe: Centralize migration fence updates
drivers/gpu/drm/xe/xe_migrate.c | 42 +++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0