aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r420.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-05 00:36:53 -0500
committerDave Airlie <airlied@redhat.com>2009-12-01 20:36:41 -0500
commit17e15b0c719b5ec0b344d3ebe3787b48315a0218 (patch)
treede7a28574a257ef9ab5a46e0a155c863b2584663 /drivers/gpu/drm/radeon/r420.c
parentfcec570b27a47e428a9bfc8572ae4c7c230d0488 (diff)
drm/radeon/kms: AGP systems need PCI bus mastering enabled
We might not hit this yet, but when if we do any sort of writeback we really need to enable PCI bus mastering on these systems from what I can see. This enables PCI BM on all radeons that require it. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r420.c')
-rw-r--r--drivers/gpu/drm/radeon/r420.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c
index 1cefdbcc0850..e7e4f5a90ebe 100644
--- a/drivers/gpu/drm/radeon/r420.c
+++ b/drivers/gpu/drm/radeon/r420.c
@@ -335,6 +335,9 @@ int r420_init(struct radeon_device *rdev)
335 if (r) { 335 if (r) {
336 return r; 336 return r;
337 } 337 }
338 if (rdev->family == CHIP_R420)
339 r100_enable_bm(rdev);
340
338 if (rdev->flags & RADEON_IS_PCIE) { 341 if (rdev->flags & RADEON_IS_PCIE) {
339 r = rv370_pcie_gart_init(rdev); 342 r = rv370_pcie_gart_init(rdev);
340 if (r) 343 if (r)