[PATCH v2 0/2] drm/xe: GSC proxy support

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Wed Jan 10 00:44:13 UTC 2024


The GSC uC needs to communicate with the CSME to perform certain
operations. Since the GSC can't perform this communication directly on
platforms where it is integrated in GT, the graphics driver needs to
transfer the messages from GSC to CSME and back.
Since the CSME is controlled by the mei driver, we need to use a mei
component to communicate with it.

v2: better doc, comments, naming. Minor cleanups/fixes (Alan)

Cc: Alan Previn <alan.previn.teres.alexis at intel.com>
Cc: Suraj Kandpal <suraj.kandpal at intel.com>

Daniele Ceraolo Spurio (2):
  drm/xe/gsc: Initialize GSC proxy
  drm/xe/gsc: add support for GSC proxy interrupt

 drivers/gpu/drm/xe/Makefile                   |   1 +
 .../gpu/drm/xe/abi/gsc_proxy_commands_abi.h   |  44 ++
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   2 +
 drivers/gpu/drm/xe/xe_device.c                |  22 +-
 drivers/gpu/drm/xe/xe_gsc.c                   |  66 ++-
 drivers/gpu/drm/xe/xe_gsc.h                   |   1 +
 drivers/gpu/drm/xe/xe_gsc_proxy.c             | 537 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gsc_proxy.h             |  20 +
 drivers/gpu/drm/xe/xe_gsc_submit.c            |  13 +
 drivers/gpu/drm/xe/xe_gsc_submit.h            |   1 +
 drivers/gpu/drm/xe/xe_gsc_types.h             |  32 ++
 drivers/gpu/drm/xe/xe_gt.c                    |  13 +
 drivers/gpu/drm/xe/xe_gt.h                    |   1 +
 drivers/gpu/drm/xe/xe_irq.c                   |  44 +-
 drivers/gpu/drm/xe/xe_uc.c                    |  14 +
 drivers/gpu/drm/xe/xe_uc.h                    |   1 +
 16 files changed, 789 insertions(+), 23 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/abi/gsc_proxy_commands_abi.h
 create mode 100644 drivers/gpu/drm/xe/xe_gsc_proxy.c
 create mode 100644 drivers/gpu/drm/xe/xe_gsc_proxy.h

-- 
2.43.0



More information about the Intel-xe mailing list