diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-09-10 07:47:09 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-10 21:41:34 -0400 |
commit | c000273ebc830c27b8c9e03d5f4c147d3e310f48 (patch) | |
tree | 68e453c02a23d38dce7b4d67f29fa59a099c3510 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | 119e20dc149581db3064661b2e659f308f97b663 (diff) |
drm/radeon/kms: R3XX/R4XX AGP asic use PCI GART not PCIE GART
R3XX/R4XX AGP asic use the old PCI GART block, not the new PCIE GART.
Make sure we pick the right GART when disabling AGP.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 05e1af0156c8..bf6939497e15 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c | |||
@@ -503,7 +503,7 @@ int radeon_device_init(struct radeon_device *rdev, | |||
503 | 503 | ||
504 | if (radeon_agpmode == -1) { | 504 | if (radeon_agpmode == -1) { |
505 | rdev->flags &= ~RADEON_IS_AGP; | 505 | rdev->flags &= ~RADEON_IS_AGP; |
506 | if (rdev->family > CHIP_RV515 || | 506 | if (rdev->family >= CHIP_RV515 || |
507 | rdev->family == CHIP_RV380 || | 507 | rdev->family == CHIP_RV380 || |
508 | rdev->family == CHIP_RV410 || | 508 | rdev->family == CHIP_RV410 || |
509 | rdev->family == CHIP_R423) { | 509 | rdev->family == CHIP_R423) { |