]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/xe/svm: Fix a debug printout
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Fri, 19 Dec 2025 11:32:57 +0000 (12:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:17:20 +0000 (10:17 +0100)
commit d2d7f5636f0d752a1e0e7eadbbc1839c29177bba upstream.

Avoid spamming the log with drm_info(). Use drm_dbg() instead.

Fixes: cc795e041034 ("drm/xe/svm: Make xe_svm_range_needs_migrate_to_vram() public")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: <stable@vger.kernel.org> # v6.17+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patch.msgid.link/20251219113320.183860-2-thomas.hellstrom@linux.intel.com
(cherry picked from commit 72aee5f70ba47b939345a0d3414b51b0639c5b88)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xe/xe_svm.c

index 129e7818565c82b99e1376602818d50fe8dccff6..d0d9415a7b03cfb5616926f3d725413d9be27ee9 100644 (file)
@@ -942,7 +942,7 @@ bool xe_svm_range_needs_migrate_to_vram(struct xe_svm_range *range, struct xe_vm
        xe_assert(vm->xe, IS_DGFX(vm->xe));
 
        if (xe_svm_range_in_vram(range)) {
-               drm_info(&vm->xe->drm, "Range is already in VRAM\n");
+               drm_dbg(&vm->xe->drm, "Range is already in VRAM\n");
                return false;
        }