drm/nouveau: Fix fbcon on mixed pre-NV50 + NV50 multicard.
authorMarcin Kościelnicki <koriakin@0x04.net>
Wed, 27 Jan 2010 14:03:18 +0000 (14:03 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 02:50:14 +0000 (12:50 +1000)
commit126b5440565a1fa0cb49fd30041525d5a9a848f5
tree7809ee1d5f9928bd31b630e94a172120e04c9ad0
parent7dad9ef6d9255b4d2d0a26305a785a55f3ba55e3
drm/nouveau: Fix fbcon on mixed pre-NV50 + NV50 multicard.

We used single shared fbops struct and patched it at fb init time with
pointers to the right variant. On mixed multicard, this meant that
it was either sending NV50-style commands to all cards, or NV04-style
commands to all cards.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nouveau_fbcon.h
drivers/gpu/drm/nouveau/nv04_fbcon.c
drivers/gpu/drm/nouveau/nv50_fbcon.c