From: Maarten Lankhorst <dev@lankhorst.se>
To: intel-xe@lists.freedesktop.org
Cc: Maarten Lankhorst <dev@lankhorst.se>
Subject: [PATCH] drm/xe: Only probe stolen memory when display support is enabled.
Date: Thu, 27 Feb 2025 15:55:56 +0100 [thread overview]
Message-ID: <20250227145556.428738-1-dev@lankhorst.se> (raw)
Without display, there is no need for display stolen memory.
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
index d9c9d2547aadf..2e60d5346ec43 100644
--- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
@@ -218,7 +218,7 @@ int xe_ttm_stolen_mgr_init(struct xe_device *xe)
if (!mgr)
return -ENOMEM;
- if (IS_SRIOV_VF(xe))
+ if (!xe->info.probe_display)
stolen_size = 0;
else if (IS_DGFX(xe))
stolen_size = detect_bar2_dgfx(xe, mgr);
--
2.45.2
next reply other threads:[~2025-02-27 14:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 14:55 Maarten Lankhorst [this message]
2025-02-27 15:05 ` [PATCH] drm/xe: Only probe stolen memory when display support is enabled Matthew Auld
2025-02-27 17:04 ` Daniele Ceraolo Spurio
2025-02-27 15:31 ` ✓ CI.Patch_applied: success for " Patchwork
2025-02-27 15:31 ` ✓ CI.checkpatch: " Patchwork
2025-02-27 15:32 ` ✓ CI.KUnit: " Patchwork
2025-02-27 15:49 ` ✓ CI.Build: " Patchwork
2025-02-27 15:52 ` ✓ CI.Hooks: " Patchwork
2025-02-27 15:53 ` ✓ CI.checksparse: " Patchwork
2025-02-27 16:11 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-27 19:36 ` ✗ Xe.CI.Full: 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=20250227145556.428738-1-dev@lankhorst.se \
--to=dev@lankhorst.se \
--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