summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2012-03-08 16:04:08 +0000
committerDave Airlie <airlied@redhat.com>2012-03-10 13:06:00 +0000
commitb2d57b337f88229e31f2ee11ab64e3caf5db8031 (patch)
tree530ee4758e8846544d8bc9325a61b581d0add664
parentffe94d9c754ebdc1462d58755da48dc75c3d2920 (diff)
downloadlinux-3.10-b2d57b337f88229e31f2ee11ab64e3caf5db8031.tar.gz
linux-3.10-b2d57b337f88229e31f2ee11ab64e3caf5db8031.tar.bz2
linux-3.10-b2d57b337f88229e31f2ee11ab64e3caf5db8031.zip
gma500: mmu: drop unused psb_get_default_pd_addr()
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/gma500/mmu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c
index c904d73b1de..7ba6af394cb 100644
--- a/drivers/gpu/drm/gma500/mmu.c
+++ b/drivers/gpu/drm/gma500/mmu.c
@@ -488,15 +488,6 @@ struct psb_mmu_pd *psb_mmu_get_default_pd(struct psb_mmu_driver *driver)
return pd;
}
-/* Returns the physical address of the PD shared by sgx/msvdx */
-uint32_t psb_get_default_pd_addr(struct psb_mmu_driver *driver)
-{
- struct psb_mmu_pd *pd;
-
- pd = psb_mmu_get_default_pd(driver);
- return page_to_pfn(pd->p) << PAGE_SHIFT;
-}
-
void psb_mmu_driver_takedown(struct psb_mmu_driver *driver)
{
psb_mmu_free_pagedir(driver->default_pd);