Files
linux-net/drivers/gpu/drm/xe
Lucas De Marchi 9c7632faad 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: 617d824c53 ("drm/xe: Add WA BB to capture active context utilization")
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://lore.kernel.org/r/20250604-wa-bb-fix-v1-1-0dfc5dafcef0@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit ef48715b2d)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
2025-06-12 18:09:50 +02:00
..
2025-04-10 14:09:35 -07:00
2025-01-09 17:58:09 +01:00
2024-05-09 21:28:25 +02:00
2025-01-09 17:58:09 +01:00
2025-01-09 17:58:09 +01:00
2025-04-28 17:42:49 +02:00
2025-03-25 20:51:29 -07:00
2025-01-14 07:02:49 -08:00
2024-11-15 15:59:51 -08:00
2025-03-25 20:51:29 -07:00
2024-05-13 21:36:50 +02:00
2025-01-21 22:01:28 +01:00
2024-05-22 12:03:55 +02:00
2024-09-19 10:15:40 +02:00
2024-05-07 12:03:49 +02:00
2025-04-02 16:25:28 -07:00
2025-01-27 08:54:06 -08:00
2025-02-03 11:51:26 -08:00
2024-05-13 21:36:52 +02:00
2024-06-18 12:03:29 -07:00
2025-01-19 00:12:02 +01:00
2025-01-09 17:58:09 +01:00
2025-01-17 00:01:58 +05:30
2025-06-05 18:05:19 +02:00
2025-04-10 15:50:01 -07:00
2024-12-09 09:59:47 -05:00
2024-12-03 15:02:55 -05:00
2024-07-24 09:05:37 -07:00