From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2769BCA0ED3 for ; Mon, 2 Sep 2024 14:08:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C782410E300; Mon, 2 Sep 2024 14:08:39 +0000 (UTC) Received: from mail02.habana.ai (habanamailrelay.habana.ai [213.57.90.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id F2C6710E300 for ; Mon, 2 Sep 2024 14:08:38 +0000 (UTC) Received: internal info suppressed Received: from illevi-vm-u22.habana-labs.com (localhost [127.0.0.1]) by illevi-vm-u22.habana-labs.com (8.15.2/8.15.2/Debian-22ubuntu3) with ESMTP id 482E8QnR2526278; Mon, 2 Sep 2024 17:08:26 +0300 From: Ilia Levi To: intel-xe@lists.freedesktop.org Cc: ilia.levi@intel.com, michal.wajdeczko@intel.com, jonathan.cavitt@intel.com, niranjana.vishwanathapura@intel.com, matthew.brost@intel.com, koby.elbaz@intel.com, yaron.avizrat@intel.com Subject: [PATCH v3 0/4] memirq infra changes Date: Mon, 2 Sep 2024 17:08:22 +0300 Message-ID: <20240902140826.2526259-1-ilia.levi@intel.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" 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) Ilia Levi (4): drm/xe: MSI-X support placeholder drm/xe: move memirq out of VF drm/xe: memirq infra changes for MSI-X drm/xe: memirq handler changes 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 | 151 +++++++++++++++++---------- drivers/gpu/drm/xe/xe_memirq.h | 6 +- drivers/gpu/drm/xe/xe_memirq_types.h | 4 +- 10 files changed, 164 insertions(+), 93 deletions(-) -- 2.43.2