Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2024-04-24  9:42 Farah Kassabri
  2024-04-24  9:42 ` [PATCH 1/2] drm/xe: rename gt invalidation functions Farah Kassabri
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Farah Kassabri @ 2024-04-24  9:42 UTC (permalink / raw)
  To: intel-xe; +Cc: ofir1.bitton, Farah Kassabri

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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* (no subject)
@ 2024-04-25  9:35 Farah Kassabri
  2024-04-25  9:35 ` [PATCH 1/2] drm/xe: rename gt invalidation functions Farah Kassabri
  0 siblings, 1 reply; 7+ messages in thread
From: Farah Kassabri @ 2024-04-25  9:35 UTC (permalink / raw)
  To: intel-xe; +Cc: ofir1.bitton

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-29  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24  9:42 Farah Kassabri
2024-04-24  9:42 ` [PATCH 1/2] drm/xe: rename gt invalidation functions Farah Kassabri
2024-04-29  1:29   ` Matthew Brost
2024-04-24  9:42 ` [PATCH 2/2] drm/xe: preparations for multi instance TLB invalidations Farah Kassabri
2024-04-29  2:01   ` Matthew Brost
2024-04-28 22:02 ` ✗ CI.Patch_applied: failure for series starting with [1/2] drm/xe: rename gt invalidation functions Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-04-25  9:35 Farah Kassabri
2024-04-25  9:35 ` [PATCH 1/2] drm/xe: rename gt invalidation functions Farah Kassabri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox