summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_map.h
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2025-10-03 01:38:24 +0200
committerMatthew Brost <matthew.brost@intel.com>2025-10-03 20:36:26 -0700
commitbdc2fb17ae9952bbce28d60ebab2520ed937363d (patch)
tree9aa0f8b3e2718c8415ee25163ed3f53a6da7c47a /drivers/gpu/drm/xe/xe_map.h
parent6c640592e84cd04cd6c61bf7afd83808cc20c9f4 (diff)
downloadlinux-next-bdc2fb17ae9952bbce28d60ebab2520ed937363d.tar.gz
linux-next-bdc2fb17ae9952bbce28d60ebab2520ed937363d.zip
Revert "drm/xe/vf: Fixup CTB send buffer messages after migration"
This reverts commit cef88d1265cac7d415606af73ba58926fd3cd8b7. Due to change in the VF migration recovery design this code is not needed any more. v3: - Add commit message (Michal / Lucas) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20251002233824.203417-4-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_map.h')
-rw-r--r--drivers/gpu/drm/xe/xe_map.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/gpu/drm/xe/xe_map.h b/drivers/gpu/drm/xe/xe_map.h
index 8d67f6ba2d95..f62e0c8b67ab 100644
--- a/drivers/gpu/drm/xe/xe_map.h
+++ b/drivers/gpu/drm/xe/xe_map.h
@@ -78,24 +78,6 @@ static inline void xe_map_write32(struct xe_device *xe, struct iosys_map *map,
iosys_map_wr(map__, offset__, type__, val__); \
})
-#define xe_map_rd_array(xe__, map__, index__, type__) \
- xe_map_rd(xe__, map__, (index__) * sizeof(type__), type__)
-
-#define xe_map_wr_array(xe__, map__, index__, type__, val__) \
- xe_map_wr(xe__, map__, (index__) * sizeof(type__), type__, val__)
-
-#define xe_map_rd_array_u32(xe__, map__, index__) \
- xe_map_rd_array(xe__, map__, index__, u32)
-
-#define xe_map_wr_array_u32(xe__, map__, index__, val__) \
- xe_map_wr_array(xe__, map__, index__, u32, val__)
-
-#define xe_map_rd_ring_u32(xe__, map__, index__, size__) \
- xe_map_rd_array_u32(xe__, map__, (index__) % (size__))
-
-#define xe_map_wr_ring_u32(xe__, map__, index__, size__, val__) \
- xe_map_wr_array_u32(xe__, map__, (index__) % (size__), val__)
-
#define xe_map_rd_field(xe__, map__, struct_offset__, struct_type__, field__) ({ \
struct xe_device *__xe = xe__; \
xe_device_assert_mem_access(__xe); \