summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-05-23 03:40:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-05-23 03:40:44 +0000
commitec3cb8106a9596fce78f22d8d9ce1c734b379c79 (patch)
tree237bfb2169e9ad798aafa6dce6619f5318748b5a
parentf63b9aa2b59e010b751aedaf5bbcd34c8d80679b (diff)
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);