[PATCH v4 0/3] memirq infra changes

Michal Wajdeczko michal.wajdeczko at intel.com
Sat Sep 14 14:12:26 UTC 2024



On 12.09.2024 10:54, Ilia Levi wrote:
> From: Ilia Levi <ilia.levi at intel.com>
> 
> This patch set contains Memory Based Interrupts (memirq) infrastructure
> changes to make it reusable for use cases other than VF 
> (specifically MSI-X). 
> 
> The main changes are separation from VF and a new mode where hardware
> engines report interrupt source and status to the offset of instance 0
> (for MSI-X support).
> 
> v2: Rebase
> v3: Rebase, refactor according to review comments (Michal)
> v4: Rebase, address review comments (Michal)
> 
> Ilia Levi (3):
>   drm/xe: move memirq out of VF

can we split above patch into:

	drm/xe: Introduce dedicated config for MEMIRQ debug
	drm/xe: Introduce xe_device_uses_memirq()
	drm/xe: Move memirq out of VF
and maybe
	drm/xe: Prepare to handle memirq outside VF

>   drm/xe: memirq infra changes for MSI-X
>   drm/xe: memirq handler changes
> 
>  drivers/gpu/drm/xe/Kconfig.debug     |  12 ++
>  drivers/gpu/drm/xe/xe_device.c       |   8 +-
>  drivers/gpu/drm/xe/xe_device.h       |  13 +++
>  drivers/gpu/drm/xe/xe_device_types.h |   6 +-
>  drivers/gpu/drm/xe/xe_guc.c          |   2 +-
>  drivers/gpu/drm/xe/xe_hw_engine.c    |  19 +++-
>  drivers/gpu/drm/xe/xe_irq.c          |  40 ++++---
>  drivers/gpu/drm/xe/xe_lrc.c          |   8 +-
>  drivers/gpu/drm/xe/xe_memirq.c       | 157 +++++++++++++++++----------
>  drivers/gpu/drm/xe/xe_memirq.h       |   6 +-
>  drivers/gpu/drm/xe/xe_memirq_types.h |   4 +-
>  11 files changed, 182 insertions(+), 93 deletions(-)
> 


More information about the Intel-xe mailing list