projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc2780b
)
drm/i915: Restore lost "Initialized i915" welcome message
author
Chris Wilson
<
[email protected]
>
Thu, 25 Aug 2016 07:23:14 +0000
(08:23 +0100)
committer
Jani Nikula
<
[email protected]
>
Wed, 14 Sep 2016 08:23:46 +0000
(11:23 +0300)
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 <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
Fixes: 8f460e2c78f2 ("drm/i915: Demidlayer driver loading")
Cc: Daniel Vetter <
[email protected]
>
Cc: Ville Syrjälä <
[email protected]
>
Cc:
[email protected]
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Daniel Vetter <
[email protected]
>
(cherry picked from commit
bc5ca47c0af4f949ba889e666b7da65569e36093
)
Signed-off-by: Jani Nikula <
[email protected]
>
drivers/gpu/drm/i915/i915_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.c
b/drivers/gpu/drm/i915/i915_drv.c
index 95ddd56b89f08954a4c767e149dad2d427a5de27..5de36d8dcc68fafac7dbeb5aa87d7ef567790203 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.c
+++ b/
drivers/gpu/drm/i915/i915_drv.c
@@
-1281,6
+1281,11
@@
int i915_driver_load(struct pci_dev *pdev, const struct pci_device_id *ent)
intel_runtime_pm_enable(dev_priv);
+ /* Everything is in place, we can now relax! */
+ DRM_INFO("Initialized %s %d.%d.%d %s for %s on minor %d\n",
+ driver.name, driver.major, driver.minor, driver.patchlevel,
+ driver.date, pci_name(pdev), dev_priv->drm.primary->index);
+
intel_runtime_pm_put(dev_priv);
return 0;