]> Pileus Git - ~andy/linux/commit
drm/i915: kick firmware fbs even when i915 fbdev is disabled
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Dec 2013 09:00:54 +0000 (10:00 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Dec 2013 12:17:49 +0000 (13:17 +0100)
commit243eaf381d1a851f53c9f3cbd26849731da17c48
tree46ad3757b90b912d10922fc973edee567378c7f7
parent691bb717544f3c1241f5a4e5fb884a0215a2dc9e
drm/i915: kick firmware fbs even when i915 fbdev is disabled

Otherwise we don't kick out firmware framebuffers like vesafb and
efifb when CONFIG_DRM_I915_FBDEV=n but CONFIG_FB=y.

There's still the pesky issue with vgacon which we should somehow
replace with the dummy console at least. We have a similar issue at
module un/reload, since vgacon state is terminally botched after
i915.ko has loaded in modeset mode. But this gets us a step further at
least.

v2: Use IS_ENABLED - I always get this wrong for tristates. Spotted by
Jani.

Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c