summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-10-15 10:36:53 +0000
committerjsg <jsg@openbsd.org>2020-10-15 10:36:53 +0000
commit49078af9123567bc6a80b23df9d74266317e2c13 (patch)
tree3d21d648870c2d0e3983600a6032e339ff2a9faf /sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c
parentdon't print pci ids when radeondrm attaches (diff)
downloadwireguard-openbsd-49078af9123567bc6a80b23df9d74266317e2c13.tar.xz
wireguard-openbsd-49078af9123567bc6a80b23df9d74266317e2c13.zip
consistently use dev_info() for sos fw version messages
noticed in renoir dmesg
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c b/sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c
index 7f651dc9f31..a2e117a96e8 100644
--- a/sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c
+++ b/sys/dev/pci/drm/amd/amdgpu/psp_v3_1.c
@@ -200,7 +200,7 @@ static int psp_v3_1_bootloader_load_sos(struct psp_context *psp)
sol_reg = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_81);
if (sol_reg) {
psp->sos_fw_version = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_58);
- printk("sos fw version = 0x%x.\n", psp->sos_fw_version);
+ dev_info(adev->dev, "sos fw version = 0x%x.\n", psp->sos_fw_version);
return 0;
}