drm/nv04-nv3x: Implement init-compute-mem.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 13 Jul 2010 13:59:50 +0000 (15:59 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 26 Jul 2010 01:42:21 +0000 (11:42 +1000)
commit67eda20e6b7a757ed45f6b5a8a4d30c2a0d47c7a
tree919b3abb20f61a9e222083cb399f24a9131a6b33
parent3c7066bca990a440b512663f89680bd1c1cae6c1
drm/nv04-nv3x: Implement init-compute-mem.

Init-compute-mem was the last piece missing for nv0x-nv3x card
cold-booting. This implementation is somewhat lacking but it's been
reported to work on most chipsets it was tested in. Let me know if it
breaks suspend to RAM for you.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Tested-by: Patrice Mandin <patmandin@gmail.com>
Tested-by: Ben Skeggs <bskeggs@redhat.com>
Tested-by: Xavier Chantry <chantry.xavier@gmail.com>
Tested-by: Marcin Koƛcielnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.h