vga16fb, drm: vga16fb->drm handoff
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 16 May 2010 15:33:09 +0000 (17:33 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 06:19:30 +0000 (16:19 +1000)
commit3b9676e7ac6eff4f50f1b48b6c36664f55b79507
treeb9c1367db290a66f1cba4f78a488f7e25e779b79
parent06415c564fb98562a4d6b6215615deb2d1cc0dae
vga16fb, drm: vga16fb->drm handoff

let vga16fb claim 0xA0000+0x10000 region as its aperture;
drm drivers don't use it, so we have to detect it and kick
vga16fb manually - but only if drm is driving the primary card

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: James Simmons <jsimmons@infradead.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/video/fbmem.c
drivers/video/vga16fb.c
include/linux/fb.h