drm/i915: Kick fbdev before vgacon
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:09:49 +0000 (10:09 +0100)
committerJani Nikula <jani.nikula@intel.com>
Mon, 17 Nov 2014 08:18:21 +0000 (10:18 +0200)
commit0485c9dc24ec0939b42ca5104c0373297506b555
tree0b16b5c79ba847812a7e745cd1f36ff48894e13a
parent2208d655a91f9879bd9a39ff9df05dd668b3512c
drm/i915: Kick fbdev before vgacon

It's magic, but it seems to work.

This fixes a regression introduced in

commit 1bb9e632a0aeee1121e652ee4dc80e5e6f14bcd2
Author: Daniel Vetter <daniel.vetter@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@vger.kernel.org (v3.16+)
Reported-and-tested-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_dma.c