Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Subject: [PATCH v2 3/3] CI-only: Test if FLR is disabled?
Date: Mon, 19 Aug 2024 15:31:37 +0200	[thread overview]
Message-ID: <20240819133138.147511-4-maarten.lankhorst@linux.intel.com> (raw)
In-Reply-To: <20240819133138.147511-1-maarten.lankhorst@linux.intel.com>

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/xe/xe_device.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 18c5a2c8530eb..81009b78a2ca7 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -593,6 +593,9 @@ int xe_device_probe_early(struct xe_device *xe)
 	if (err)
 		return err;
 
+	if (xe_driver_flr_disabled(xe))
+		drm_err(&xe->drm, "FLR disabled by firmware\n");
+
 	xe->wedged.mode = xe_modparam.wedged_mode;
 
 	return 0;
-- 
2.45.2


  parent reply	other threads:[~2024-08-19 13:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19 13:31 [PATCH v2 0/3] drm/xe/display: Fixes to make kexec work Maarten Lankhorst
2024-08-19 13:31 ` [PATCH v2 1/3] drm/xe: Read out rawclk_freq for display Maarten Lankhorst
2024-08-20  7:43   ` Jani Nikula
2024-08-20  9:12     ` Jani Nikula
2024-08-19 13:31 ` [PATCH v2 2/3] drm/xe: Wire up device shutdown handler Maarten Lankhorst
2024-08-19 13:38   ` Lucas De Marchi
2024-08-19 13:31 ` Maarten Lankhorst [this message]
2024-08-19 13:37 ` ✓ CI.Patch_applied: success for drm/xe/display: Fixes to make kexec work. (rev2) Patchwork
2024-08-19 13:37 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-19 13:37 ` ✗ CI.KUnit: failure " 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=20240819133138.147511-4-maarten.lankhorst@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /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