[PATCH v2 00/11] The xe_sa_manager based GuC Buffer Cache

Michal Wajdeczko michal.wajdeczko at intel.com
Fri Dec 20 19:41:53 UTC 2024


v0: https://patchwork.freedesktop.org/series/139801/
v1: https://patchwork.freedesktop.org/series/142458/#rev1
v2: drop separate bo cleanup patch (Matt)
    drop is_iomem removal patch (N/A)
    add kernel-doc xe_sa_bo_new (Matt)
    move init to xe_guc_init_post_hwconfig (CI)
    make sure to call xe_guc_buf_flush (Michal)

Michal Wajdeczko (11):
  drm/xe/sa: Always call drm_suballoc_manager_fini()
  drm/xe/sa: Drop redundant NULL assignments
  drm/xe/sa: Improve error message on init failure
  drm/xe/sa: Tidy up coding style in init()
  drm/xe/sa: Allow making suballocations using custom gfp flags
  drm/xe/sa: Allow creating suballocator with custom guard size
  drm/xe/sa: Minor header cleanups
  drm/xe/guc: Introduce the GuC Buffer Cache
  drm/xe/pf: Use GuC Buffer Cache during VFs provisioning
  drm/xe/kunit: Allow to replace xe_managed_bo_create_pin_map()
  drm/xe/kunit: Add KUnit tests for GuC Buffer Cache

 drivers/gpu/drm/xe/Makefile                 |   1 +
 drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 335 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_bo.c                  |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c  |  68 ++--
 drivers/gpu/drm/xe/xe_guc.c                 |   5 +
 drivers/gpu/drm/xe/xe_guc_buf.c             | 176 ++++++++++
 drivers/gpu/drm/xe/xe_guc_buf.h             |  47 +++
 drivers/gpu/drm/xe/xe_guc_buf_types.h       |  28 ++
 drivers/gpu/drm/xe/xe_guc_types.h           |   3 +
 drivers/gpu/drm/xe/xe_sa.c                  |  51 ++-
 drivers/gpu/drm/xe/xe_sa.h                  |  30 +-
 11 files changed, 692 insertions(+), 56 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_buf.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_buf.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_buf_types.h

-- 
2.47.1



More information about the Intel-xe mailing list