[Intel-gfx] [PATCH] drm/i915: Kick fbdev before vgacon

Daniel Vetter daniel at ffwll.ch
Fri Nov 14 11:33:37 CET 2014


On Fri, Nov 14, 2014 at 09:47:57AM +0000, Chris Wilson wrote:
> On Fri, Nov 14, 2014 at 10:09:49AM +0100, Daniel Vetter wrote:
> > It's magic, but it seems to work.
> > 
> > This fixes a regression introduced in
> > 
> > commit 1bb9e632a0aeee1121e652ee4dc80e5e6f14bcd2
> > Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Date:   Tue Jul 8 10:02:43 2014 +0200
> > 
> >     drm/i915: Only unbind vgacon, not other console drivers
> > 
> > My best guess is that the vga fbdev driver falls over if we rip out
> > parts of vgacon. Hooray.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82439
> > Cc: stable at vger.kernel.org
> > Reported-and-Tested-by: Lv Zheng <lv.zheng at intel.com>
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> 
> Still smells like someone else's problem, a race in fbcon?

My best theory is that vgacon tears down something that the vga16 fbdev
driver relies on. So by kicking that one before removing the vgacon driver
we somehow survive.

But tbh I don't really want to know.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list