Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Only probe stolen memory when display support is enabled.
@ 2025-02-27 14:55 Maarten Lankhorst
  2025-02-27 15:05 ` Matthew Auld
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Maarten Lankhorst @ 2025-02-27 14:55 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-02-27 19:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 14:55 [PATCH] drm/xe: Only probe stolen memory when display support is enabled Maarten Lankhorst
2025-02-27 15:05 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox