summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/i915/i915_drv.c6
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c
index 7feafde541e..2abba0a3579 100644
--- a/sys/dev/pci/drm/i915/i915_drv.c
+++ b/sys/dev/pci/drm/i915/i915_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i915_drv.c,v 1.100 2016/04/08 08:27:53 kettenis Exp $ */
+/* $OpenBSD: i915_drv.c,v 1.101 2017/01/08 12:11:54 fcambus Exp $ */
/*
* Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -1508,8 +1508,8 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux)
efifb_cndetach();
#endif
- printf("%s: %dx%d\n", dev_priv->sc_dev.dv_xname,
- ri->ri_width, ri->ri_height);
+ printf("%s: %dx%d, %dbpp\n", dev_priv->sc_dev.dv_xname,
+ ri->ri_width, ri->ri_height, ri->ri_depth);
intel_fbdev_restore_mode(dev);
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index 45581befc91..89d734311a7 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_kms.c,v 1.48 2016/04/08 08:27:53 kettenis Exp $ */
+/* $OpenBSD: radeon_kms.c,v 1.49 2017/01/08 12:11:54 fcambus Exp $ */
/*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
@@ -769,7 +769,8 @@ radeondrm_attachhook(struct device *self)
radeon_vga_set_state(rdev, false);
pci_disable_legacy_vga(&rdev->dev);
- printf("%s: %dx%d\n", rdev->dev.dv_xname, ri->ri_width, ri->ri_height);
+ printf("%s: %dx%d, %dbpp\n", rdev->dev.dv_xname,
+ ri->ri_width, ri->ri_height, ri->ri_depth);
config_found_sm(&rdev->dev, &aa, wsemuldisplaydevprint,
wsemuldisplaydevsubmatch);