From: Francisco Jerez Date: Thu, 17 Jun 2010 10:42:14 +0000 (+0200) Subject: drm/nouveau: Don't clear AGPCMD completely on INIT_RESET. X-Git-Tag: v2.6.36-rc1~540^2~19^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190a43783f2c43186180c827444d4eac901b4bcf;p=pandora-kernel.git drm/nouveau: Don't clear AGPCMD completely on INIT_RESET. We just need to clear the SBA and ENABLE bits to reset the AGP controller: If the AGP bridge was configured to use "fast writes", clearing the FW bit would break the subsequent MMIO writes and eventually end with a lockup. Note that all the BIOSes I've seen do the same as we did (it works for them because they don't use MMIO), OTOH the blob leaves FW untouched. Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed