diff options
| author | Lucas De Marchi <[email protected]> | 2025-06-04 15:03:05 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2025-06-12 16:09:50 +0000 |
| commit | 9c7632faad434c98f1f2cc06f3647a5a5d05ddbf (patch) | |
| tree | a3caa0de2c8e91d4ea9a0d961155677db97d2de2 /rust/helpers/vmalloc.c | |
| parent | drm/xe/svm: Fix regression disallowing 64K SVM migration (diff) | |
| download | kernel-9c7632faad434c98f1f2cc06f3647a5a5d05ddbf.tar.gz kernel-9c7632faad434c98f1f2cc06f3647a5a5d05ddbf.zip | |
drm/xe/lrc: Use a temporary buffer for WA BB
In case the BO is in iomem, we can't simply take the vaddr and write to
it. Instead, prepare a separate buffer that is later copied into io
memory. Right now it's just a few words that could be using
xe_map_write32(), but the intention is to grow the WA BB for other
uses.
Fixes: 617d824c5323 ("drm/xe: Add WA BB to capture active context utilization")
Cc: Umesh Nerlige Ramappa <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Reviewed-by: Umesh Nerlige Ramappa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
(cherry picked from commit ef48715b2d3df17c060e23b9aa636af3d95652f8)
Signed-off-by: Thomas Hellström <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
