summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-01-08 12:11:55 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-01-08 12:11:55 +0000
commit8d2498e68d7ad2f2bc3d22c1853865d800c12e69 (patch)
tree00066e25fac54a5affac312aa0e0d2ec7d89000e /sys/dev/pci/drm/i915/i915_drv.c
parent21de15f773be76ce845907d8c4e8e82753cc4b0e (diff)
Display color depth alongside resolution when attaching inteldrm and
radeondrm, using the same scheme as efifb(4). OK mpi@, visa@, kettenis@
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_drv.c')
-rw-r--r--sys/dev/pci/drm/i915/i915_drv.c6
1 files changed, 3 insertions, 3 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);