From 61791297a1adacbf3323e33ce18c19bfc5dd7c18 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 26 Mar 2020 05:48:34 +0000 Subject: print platform name and gen in early inteldrm attach ok kettenis@ ok matthieu@ on an earlier diff --- sys/dev/pci/drm/i915/i915_drv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3