RE: [Intel-xe] [PATCH v2 0/4] drm/xe/gsc: add initial gsc support

From: Usyskin, Alexander
Date: Wed Sep 20 2023 - 02:16:02 EST




> -----Original Message-----
> From: Vivi, Rodrigo <rodrigo.vivi@xxxxxxxxx>
> Sent: Monday, September 18, 2023 19:07
> To: Usyskin, Alexander <alexander.usyskin@xxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>; De Marchi, Lucas
> <lucas.demarchi@xxxxxxxxx>; Ceraolo Spurio, Daniele
> <daniele.ceraolospurio@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; Winkler,
> Tomas <tomas.winkler@xxxxxxxxx>; intel-xe@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Intel-xe] [PATCH v2 0/4] drm/xe/gsc: add initial gsc support
>
> On Thu, Sep 14, 2023 at 11:01:34AM +0300, Alexander Usyskin wrote:
> > Add initial GSC support for DG1 and DG2.
> > Create mei-gscfi auxiliary device and add
> > support for device created by Xe to the mei-gsc driver.
>
> why are we not adding the GSC already? because dependency on the GSC
> engine or something like that?
>

The DG1 and DG2 have only HECI-GSC routed via mei.
The pure GSC without mei is for later projects.

--
Thanks,
Sasha


> >
> > This series intended to be merged intto Xe tree,
> > the only patch that touches char-misc is addition
> > of id and alias in mei-gsc.
> >
> > V2: Added heci_ to struct and APIs
> > heci_gsc moved under xe_device as GSC is not under GT
> >
> > Signed-off-by: Alexander Usyskin <alexander.usyskin@xxxxxxxxx>
> >
> > Vitaly Lubart (4):
> > drm/xe/gsc: add HECI2 register offsets
> > drm/xe/gsc: add has_heci_gscfi indication to device
> > drm/xe/gsc: add gsc device support
> > mei: gsc: add support for auxiliary device created by Xe driver
> >
> > drivers/gpu/drm/xe/Kconfig | 1 +
> > drivers/gpu/drm/xe/Makefile | 1 +
> > drivers/gpu/drm/xe/regs/xe_regs.h | 4 +
> > drivers/gpu/drm/xe/xe_device.c | 4 +
> > drivers/gpu/drm/xe/xe_device_types.h | 7 +
> > drivers/gpu/drm/xe/xe_heci_gsc.c | 205
> +++++++++++++++++++++++++++
> > drivers/gpu/drm/xe/xe_heci_gsc.h | 35 +++++
> > drivers/gpu/drm/xe/xe_irq.c | 14 +-
> > drivers/gpu/drm/xe/xe_pci.c | 9 +-
> > drivers/misc/mei/gsc-me.c | 5 +
> > 10 files changed, 281 insertions(+), 4 deletions(-)
> > create mode 100644 drivers/gpu/drm/xe/xe_heci_gsc.c
> > create mode 100644 drivers/gpu/drm/xe/xe_heci_gsc.h
> >
> > --
> > 2.34.1
> >