summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-05-23 03:40:43 +0000
committerjsg <jsg@openbsd.org>2019-05-23 03:40:43 +0000
commit0c88d5535bd4bb4529ce15060ebeb0482909cc78 (patch)
treeadb141b70a3a96976386cc35b2275451a5bd7b51
parentbump to LibreSSL 3.0.0 (diff)
downloadwireguard-openbsd-0c88d5535bd4bb4529ce15060ebeb0482909cc78.tar.xz
wireguard-openbsd-0c88d5535bd4bb4529ce15060ebeb0482909cc78.zip
match radeondrm and switch DRM_INFO message with device id/asic name to
a printf so it shows without DRMDEBUG
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
index 7996d714f51..7055c646a34 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
@@ -2425,7 +2425,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
adev->audio_endpt_rreg = &amdgpu_block_invalid_rreg;
adev->audio_endpt_wreg = &amdgpu_block_invalid_wreg;
- DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X 0x%02X).\n",
+ printf("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X 0x%02X).\n",
amdgpu_asic_name[adev->asic_type], pdev->vendor, pdev->device,
pdev->subsystem_vendor, pdev->subsystem_device, pdev->revision);