]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
gma500: mmu: drop unused psb_get_default_pd_addr()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:04:08 +0000 (16:04 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:06:00 +0000 (13:06 +0000)
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>
drivers/gpu/drm/gma500/mmu.c

index c904d73b1de3f99e9d391ccc0fd6a81d4635f104..7ba6af394cb5c246db6eab0ae5ee1b63d365a8b8 100644 (file)
@@ -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);