nouveau: Fix endianness with new context program loader
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 14 Dec 2009 03:31:40 +0000 (14:31 +1100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 15 Dec 2009 00:57:50 +0000 (10:57 +1000)
commit81a5487756573b43458073969bc36b1e19124c24
treed971f427be90780975e86847f7ec4a459c9abf03
parentb694dfb25a8de4ffbc14c9092ab8f88344ca86b1
nouveau: Fix endianness with new context program loader

When switching to request_firmware() to load the context programs,
some endian fixes need to be applied. This makes it work again on
my quad g5 nvidia 6600.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv40_graph.c