Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Do not warn on SVM migration failing because of 64k requirements
@ 2025-05-29 16:43 Matthew Brost
  2025-05-29 17:26 ` Rodrigo Vivi
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Matthew Brost @ 2025-05-29 16:43 UTC (permalink / raw)
  To: intel-xe; +Cc: thomas.hellstrom, himal.prasad.ghimiray

On platforms which only support 64k VRAM pages, it is expected that 4k
faults will not migrate. Do not warn on this, rather print a debug
message.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/xe/xe_svm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_svm.c b/drivers/gpu/drm/xe/xe_svm.c
index 871ac81bb04a..f27fb9b588de 100644
--- a/drivers/gpu/drm/xe/xe_svm.c
+++ b/drivers/gpu/drm/xe/xe_svm.c
@@ -821,7 +821,7 @@ bool xe_svm_range_needs_migrate_to_vram(struct xe_svm_range *range, struct xe_vm
 	}
 
 	if (preferred_region_is_vram && range_size <= SZ_64K && !supports_4K_migration(vm->xe)) {
-		drm_warn(&vm->xe->drm, "Platform doesn't support SZ_4K range migration\n");
+		drm_dbg(&vm->xe->drm, "Platform doesn't support SZ_4K range migration\n");
 		return false;
 	}
 
-- 
2.34.1


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

end of thread, other threads:[~2025-05-30  7:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-29 16:43 [PATCH] drm/xe: Do not warn on SVM migration failing because of 64k requirements Matthew Brost
2025-05-29 17:26 ` Rodrigo Vivi
2025-05-29 17:41 ` ✓ CI.Patch_applied: success for " Patchwork
2025-05-29 17:41 ` ✓ CI.checkpatch: " Patchwork
2025-05-29 17:42 ` ✓ CI.KUnit: " Patchwork
2025-05-29 17:53 ` ✓ CI.Build: " Patchwork
2025-05-29 17:55 ` ✓ CI.Hooks: " Patchwork
2025-05-29 17:57 ` ✓ CI.checksparse: " Patchwork
2025-05-29 18:17 ` ✓ Xe.CI.BAT: " Patchwork
2025-05-30  7:22 ` ✗ 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