]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau: Fix AGP reset when AGP FW is already enabled on init.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 30 Jul 2010 11:57:54 +0000 (13:57 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 5 Aug 2010 22:33:41 +0000 (08:33 +1000)
commit2b495268fc596fd474d2a2cbbc711d8bb1e11e88
tree05e5271a67d2bd8dca8e6c147b6dfc0c6764c1fa
parent0d3470d218949dc1307313647c70154c7452a68b
drm/nouveau: Fix AGP reset when AGP FW is already enabled on init.

Previously nouveau_mem_reset_agp() was only disabling AGP fast writes
when coming back from suspend. However, the "locked out of the card
because of FW" problem can also be reproduced on init if you
unload/reload nouveau.ko several times. This patch makes the AGP code
reset FW on init.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mem.c