Skip to content

Commit 7471233

Browse files
icklejnikula
authored andcommitted
drm/i915: Restore lost "Initialized i915" welcome message
A side effect of removing the midlayer from driver loading was the loss of a useful message announcing to userspace that i915 had successfully started, e.g.: [drm] Initialized i915 1.6.0 20160425 for 0000:00:02.0 on minor 0 Reported-by: Timo Aaltonen <tjaalton@ubuntu.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Fixes: 8f460e2 ("drm/i915: Demidlayer driver loading") Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: drm-intel-fixes@lists.freedesktop.org Link: http://patchwork.freedesktop.org/patch/msgid/20160825072314.17402-1-chris@chris-wilson.co.uk Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit bc5ca47) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent fc2780b commit 7471233

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/gpu/drm/i915/i915_drv.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,11 @@ int i915_driver_load(struct pci_dev *pdev, const struct pci_device_id *ent)
12811281

12821282
intel_runtime_pm_enable(dev_priv);
12831283

1284+
/* Everything is in place, we can now relax! */
1285+
DRM_INFO("Initialized %s %d.%d.%d %s for %s on minor %d\n",
1286+
driver.name, driver.major, driver.minor, driver.patchlevel,
1287+
driver.date, pci_name(pdev), dev_priv->drm.primary->index);
1288+
12841289
intel_runtime_pm_put(dev_priv);
12851290

12861291
return 0;

0 commit comments

Comments
 (0)