Commit 93f319d3 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: remove unused r600_gart_clear_page

r6xx/r7xx use the rs600 variant.  This old one just
confuses things.
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 6ad86c31
...@@ -353,18 +353,6 @@ void r600_hpd_fini(struct radeon_device *rdev) ...@@ -353,18 +353,6 @@ void r600_hpd_fini(struct radeon_device *rdev)
/* /*
* R600 PCIE GART * R600 PCIE GART
*/ */
int r600_gart_clear_page(struct radeon_device *rdev, int i)
{
void __iomem *ptr = (void *)rdev->gart.table.vram.ptr;
u64 pte;
if (i < 0 || i > rdev->gart.num_gpu_pages)
return -EINVAL;
pte = 0;
writeq(pte, ((void __iomem *)ptr) + (i * 8));
return 0;
}
void r600_pcie_gart_tlb_flush(struct radeon_device *rdev) void r600_pcie_gart_tlb_flush(struct radeon_device *rdev)
{ {
unsigned i; unsigned i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment