Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ilia Levi <ilia.levi@intel.com>
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 1/4] drm/xe: MSI-X support placeholder
Date: Mon,  2 Sep 2024 17:08:23 +0300	[thread overview]
Message-ID: <20240902140826.2526259-2-ilia.levi@intel.com> (raw)
In-Reply-To: <20240902140826.2526259-1-ilia.levi@intel.com>

This patch adds a stub to query the platform for MSI-X support.

Signed-off-by: Ilia Levi <ilia.levi@intel.com>
---
 drivers/gpu/drm/xe/xe_device.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
index f052c06a2d2f..196b72c181f2 100644
--- a/drivers/gpu/drm/xe/xe_device.h
+++ b/drivers/gpu/drm/xe/xe_device.h
@@ -154,6 +154,12 @@ static inline bool xe_device_has_memirq(struct xe_device *xe)
 	return GRAPHICS_VERx100(xe) >= 1250;
 }
 
+static inline bool xe_device_has_msix(struct xe_device *xe)
+{
+	/* TODO: change this when MSI-X support is fully integrated */
+	return false;
+}
+
 u32 xe_device_ccs_bytes(struct xe_device *xe, u64 size);
 
 void xe_device_snapshot_print(struct xe_device *xe, struct drm_printer *p);
-- 
2.43.2


  reply	other threads:[~2024-09-02 14:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 14:08 [PATCH v3 0/4] memirq infra changes Ilia Levi
2024-09-02 14:08 ` Ilia Levi [this message]
2024-09-02 14:08 ` [PATCH v3 2/4] drm/xe: move memirq out of VF Ilia Levi
2024-09-05 16:53   ` Michal Wajdeczko
2024-09-05 21:03     ` Cavitt, Jonathan
2024-09-02 14:08 ` [PATCH v3 3/4] drm/xe: memirq infra changes for MSI-X Ilia Levi
2024-09-05 16:35   ` Michal Wajdeczko
2024-09-05 20:51     ` Cavitt, Jonathan
2024-09-02 14:08 ` [PATCH v3 4/4] drm/xe: memirq handler changes Ilia Levi
2024-09-02 14:16 ` ✓ CI.Patch_applied: success for memirq infra changes (rev4) Patchwork
2024-09-02 14:17 ` ✓ CI.checkpatch: " Patchwork
2024-09-02 14:18 ` ✓ CI.KUnit: " Patchwork
2024-09-02 14:29 ` ✓ CI.Build: " Patchwork
2024-09-02 14:32 ` ✓ CI.Hooks: " Patchwork
2024-09-02 14:33 ` ✓ CI.checksparse: " Patchwork
2024-09-02 14:53 ` ✓ CI.BAT: " Patchwork
2024-09-02 16:51 ` ✓ CI.FULL: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240902140826.2526259-2-ilia.levi@intel.com \
    --to=ilia.levi@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jonathan.cavitt@intel.com \
    --cc=koby.elbaz@intel.com \
    --cc=matthew.brost@intel.com \
    --cc=michal.wajdeczko@intel.com \
    --cc=niranjana.vishwanathapura@intel.com \
    --cc=yaron.avizrat@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox