Elide clear on full SVM copies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/xe: Add XE_BO_FLAG_SKIP_CLEARdrivers/ drivers/ | +4 | 0 replies | |
| 2/3 | drm/xe: Add xe_migrate_clear_vramdrivers/ drivers/ | +94 | 0 replies | |
| 3/3 | drm/xe: Do not clear SVM device memory allocations up frontdrivers/ | +143 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Elide clear on full SVM copies
Clearing a BO whose contents will be fully overwritten immediately afterward provides little benefit and reduces page-fault and prefetch bandwidth. Elide the initial clear for SVM-allocated BOs, and only perform a clear in the copy_to_device vfunc when the CPU pages are not fully populated.
Matt
Matthew Brost (3):
drm/xe: Add XE_BO_FLAG_SKIP_CLEAR
drm/xe: Add xe_migrate_clear_vram
drm/xe: Do not clear SVM device memory allocations up front
drivers/gpu/drm/xe/xe_bo.c | 3 + drivers/gpu/drm/xe/xe_bo.h | 1 + drivers/gpu/drm/xe/xe_migrate.c | 89 +++++++++++++++++++ drivers/gpu/drm/xe/xe_migrate.h | 5 ++ drivers/gpu/drm/xe/xe_svm.c | 150 ++++++++++++++++++++++++++++++-- 5 files changed, 241 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1