]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3f4ec5eed24d430d6c3560877d79c0b39ccb598
tree7809ee1d5f9928bd31b630e94a172120e04c9ad0
parente47ae5ed0384dd709e52edb6c0faa685bff0bfbf
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