summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-03-26 05:48:34 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-03-26 05:48:34 +0000
commit61791297a1adacbf3323e33ce18c19bfc5dd7c18 (patch)
treee2a5a92877f031e9d0673280820d53a09a4039d2 /sys
parentb29dfc3165c84da04af12567cf90ac60fea2bf08 (diff)
print platform name and gen in early inteldrm attach
ok kettenis@ ok matthieu@ on an earlier diff
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/i915/i915_drv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c
index fd7648b1ea2..78e503090c3 100644
--- a/sys/dev/pci/drm/i915/i915_drv.c
+++ b/sys/dev/pci/drm/i915/i915_drv.c
@@ -3569,8 +3569,9 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux)
return;
}
- printf("%s: %s\n", dev_priv->sc_dev.dv_xname,
- pci_intr_string(dev_priv->pc, dev_priv->ih));
+ printf("%s: %s, %s, gen %d\n", dev_priv->sc_dev.dv_xname,
+ pci_intr_string(dev_priv->pc, dev_priv->ih),
+ intel_platform_name(dev_priv->info.platform), INTEL_GEN(dev_priv));
dev_priv->irqh = pci_intr_establish(dev_priv->pc, dev_priv->ih,
IPL_TTY, inteldrm_intr, dev_priv, dev_priv->sc_dev.dv_xname);