]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe/guc: Re-word message about ADS size changes
authorJohn Harrison <John.C.Harrison@Intel.com>
Tue, 25 Mar 2025 20:32:11 +0000 (13:32 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 28 Mar 2025 19:05:05 +0000 (12:05 -0700)
The error capture list in the ADS is initially allocated using a
placeholder size. When the actual size is determinied later on, there
is a debug print about the new size. However, the wording is such that
some people see it as an unexpected thing and therefore a potential
problem. So re-word it to be a little less concerning.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250325203211.3907890-1-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/xe_guc_ads.c

index e7c9e095a19f0539aa6fde057989e36feb5e5573..bee4e0cfe7b8ca1819841c7dccedbb95a4b0717d 100644 (file)
@@ -682,8 +682,8 @@ static int guc_capture_prep_lists(struct xe_guc_ads *ads)
        }
 
        if (ads->capture_size != PAGE_ALIGN(total_size))
-               xe_gt_dbg(gt, "ADS capture alloc size changed from %d to %d\n",
-                         ads->capture_size, PAGE_ALIGN(total_size));
+               xe_gt_dbg(gt, "Updated ADS capture size %d (was %d)\n",
+                         PAGE_ALIGN(total_size), ads->capture_size);
        return PAGE_ALIGN(total_size);
 }