No subject
Farah Kassabri
fkassabri at habana.ai
Wed Apr 24 09:42:42 UTC 2024
Current Xe driver supports one TLB invaliation flow, which is
for the compute TLB going through the Guc.
This driver will be used for future products which will have multiple
TLBs each has it's own invalidation flow.
In order to prepare the driver for those new flows, these patches here
will add infrastructure to easily allow each TLB to register it's own
function keeping the common code generic.
Farah Kassabri (2):
drm/xe: rename gt invalidation functions
drm/xe: preparations for multi instance TLB invalidations
drivers/gpu/drm/xe/Makefile | 1 +
drivers/gpu/drm/xe/abi/guc_actions_abi.h | 2 +-
drivers/gpu/drm/xe/xe_device.c | 7 +
drivers/gpu/drm/xe/xe_ggtt.c | 6 +-
drivers/gpu/drm/xe/xe_gt.c | 9 +-
.../gpu/drm/xe/xe_gt_guc_tlb_invalidation.c | 459 +++++++++++++++++
.../gpu/drm/xe/xe_gt_guc_tlb_invalidation.h | 26 +
...s.h => xe_gt_guc_tlb_invalidation_types.h} | 15 +-
drivers/gpu/drm/xe/xe_gt_pagefault.c | 2 +-
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 484 ++++--------------
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h | 66 ++-
drivers/gpu/drm/xe/xe_gt_types.h | 6 +-
drivers/gpu/drm/xe/xe_guc_ct.c | 6 +-
drivers/gpu/drm/xe/xe_pt.c | 12 +-
drivers/gpu/drm/xe/xe_trace.h | 38 +-
drivers/gpu/drm/xe/xe_vm.c | 8 +-
16 files changed, 695 insertions(+), 452 deletions(-)
create mode 100644 drivers/gpu/drm/xe/xe_gt_guc_tlb_invalidation.c
create mode 100644 drivers/gpu/drm/xe/xe_gt_guc_tlb_invalidation.h
rename drivers/gpu/drm/xe/{xe_gt_tlb_invalidation_types.h => xe_gt_guc_tlb_invalidation_types.h} (54%)
--
2.34.1
More information about the Intel-xe
mailing list