summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-10-29 13:47:47 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-10-29 13:47:47 +0000
commit30efc3babd3e390939a5dc39cca4e6995f7a9125 (patch)
treec4116f6b6abc46d8cfd49275dc32a3a1007d0edb /sys/dev/pci/drm
parent6d09daa5ac294d34d1052ecaeec57d8d30b8013b (diff)
Silence "using MMIO for ATOM IIO" error message, since that is normal on
POWER9 machines. ok jsg@
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_device.c b/sys/dev/pci/drm/radeon/radeon_device.c
index 7d5323ac506..423ef84fbbe 100644
--- a/sys/dev/pci/drm/radeon/radeon_device.c
+++ b/sys/dev/pci/drm/radeon/radeon_device.c
@@ -994,7 +994,9 @@ int radeon_atombios_init(struct radeon_device *rdev)
atom_card_info->ioreg_read = cail_ioreg_read;
atom_card_info->ioreg_write = cail_ioreg_write;
} else {
+#ifndef __powerpc64__
DRM_ERROR("Unable to find PCI I/O BAR; using MMIO for ATOM IIO\n");
+#endif
atom_card_info->ioreg_read = cail_reg_read;
atom_card_info->ioreg_write = cail_reg_write;
}