public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Mention which driver is taking over the VGA console
@ 2017-10-27 21:33 Chris Wilson
  2017-10-27 22:30 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chris Wilson @ 2017-10-27 21:33 UTC (permalink / raw)
  To: intel-gfx; +Cc: Daniel Vetter

Currently there is a rather bland,

[    4.987589] [drm] Replacing VGA console driver

for when we take over the console. Let's put a (device) name on that.
If we opt for DRM_DEV_INFO we get

[    5.071879] i915 0000:00:02.0: [drm:i915_kick_out_vgacon] Replacing VGA console driver

which is a little ugly side for a user message. So just use a plain
dev_info() instead:

[    4.948501] i915 0000:00:02.0: Replacing VGA console driver

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/i915_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index af745749509c..c194dfa11125 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -751,7 +751,7 @@ static int i915_kick_out_vgacon(struct drm_i915_private *dev_priv)
 {
 	int ret = 0;
 
-	DRM_INFO("Replacing VGA console driver\n");
+	dev_info(dev_priv->drm.dev, "Replacing VGA console driver\n");
 
 	console_lock();
 	if (con_is_bound(&vga_con))
-- 
2.15.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-30 12:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27 21:33 [PATCH] drm/i915: Mention which driver is taking over the VGA console Chris Wilson
2017-10-27 22:30 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-10-27 23:39 ` ✓ Fi.CI.IGT: " Patchwork
2017-10-30  8:39 ` [PATCH] " Tvrtko Ursulin
2017-10-30 12:40 ` Joonas Lahtinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox