]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd: Add correct prefix for VBIOS message
authorMario Limonciello (AMD) <superm1@kernel.org>
Mon, 15 Dec 2025 01:12:21 +0000 (19:12 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:54 +0000 (16:59 -0500)
It's not obvious which GPU the ATOM BIOS message goes with. Use
drm_info() to show the correct one.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atom.c

index 7a063e44d4298d8d666f8243114ffb2f50f049d6..371ee82a89126e702b58bbb23780444b844ced1c 100644 (file)
@@ -1463,7 +1463,7 @@ static void atom_get_vbios_pn(struct atom_context *ctx)
                ctx->vbios_pn[count] = 0;
        }
 
-       pr_info("ATOM BIOS: %s\n", ctx->vbios_pn);
+       drm_info(ctx->card->dev, "ATOM BIOS: %s\n", ctx->vbios_pn);
 }
 
 static void atom_get_vbios_version(struct atom_context *ctx)