drm/nouveau: fix handling of fbcon colours in 8bpp
authorBen Skeggs <bskeggs@redhat.com>
Sun, 3 Jan 2010 23:10:55 +0000 (09:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Jan 2010 23:06:39 +0000 (09:06 +1000)
commitbf5302b9496b25fe80ffa8a4fd191ad95c217864
tree9c61d5fa238a756af66953b9a3e34b9dd302bf8d
parentbe9721a951bd5ee6346dd2f3eed8a6fd1761c186
drm/nouveau: fix handling of fbcon colours in 8bpp

Depending on the visual, the colours handed to us in fillrect() can either be
an actual colour, or an index into the pseudo-palette.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_fbcon.c
drivers/gpu/drm/nouveau/nv50_fbcon.c