agp/amd-k7: Allow binding user memory to the AGP GART.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 16 Oct 2010 00:45:15 +0000 (00:45 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Oct 2010 04:12:32 +0000 (14:12 +1000)
commitf6086134d0b17b2c37f537a5429a919b3d2cced8
tree05062712f62bb1ed8984889a104096fcef90622b
parent965d38074e6eae71757a8baf9a348139e1e6894d
agp/amd-k7: Allow binding user memory to the AGP GART.

TTM-based DRM drivers need to be able to bind user memory to the AGP
aperture. This patch fixes the "[TTM] AGP Bind memory failed." errors
and the subsequent fallout seen with the nouveau driver.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Tested-by: Grzesiek Sójka <pld@pfu.pl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/amd-k7-agp.c