diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-09-10 11:47:09 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-11 01:41:34 (GMT) |
commit | c000273ebc830c27b8c9e03d5f4c147d3e310f48 (patch) | |
tree | 68e453c02a23d38dce7b4d67f29fa59a099c3510 /drivers/gpu/drm/radeon/radeon.h | |
parent | 119e20dc149581db3064661b2e659f308f97b663 (diff) | |
download | linux-fsl-qoriq-c000273ebc830c27b8c9e03d5f4c147d3e310f48.tar.xz |
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.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index fa84c77..d6ff4e0 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -935,6 +935,10 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v) /* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */ void r100_cp_disable(struct radeon_device *rdev); +void r100_pci_gart_tlb_flush(struct radeon_device *rdev); +int r100_pci_gart_enable(struct radeon_device *rdev); +void r100_pci_gart_disable(struct radeon_device *rdev); +int r100_pci_gart_set_page(struct radeon_device *rdev, int i, uint64_t addr); /* r420,r423,rv410 */ u32 r420_mc_rreg(struct radeon_device *rdev, u32 reg); |