Loading drivers/char/agp/backend.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -147,7 +147,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) printk(KERN_ERR PFX "unable to get memory for scratch page.\n"); printk(KERN_ERR PFX "unable to get memory for scratch page.\n"); return -ENOMEM; return -ENOMEM; } } flush_agp_mappings(); bridge->scratch_page_real = virt_to_gart(addr); bridge->scratch_page_real = virt_to_gart(addr); bridge->scratch_page = bridge->scratch_page = Loading Loading @@ -191,7 +190,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) if (bridge->driver->needs_scratch_page) { if (bridge->driver->needs_scratch_page) { bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_UNMAP); AGP_PAGE_DESTROY_UNMAP); flush_agp_mappings(); bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_FREE); AGP_PAGE_DESTROY_FREE); } } Loading Loading @@ -219,7 +217,6 @@ static void agp_backend_cleanup(struct agp_bridge_data *bridge) bridge->driver->needs_scratch_page) { bridge->driver->needs_scratch_page) { bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_UNMAP); AGP_PAGE_DESTROY_UNMAP); flush_agp_mappings(); bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_FREE); AGP_PAGE_DESTROY_FREE); } } Loading drivers/char/agp/generic.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -197,7 +197,6 @@ void agp_free_memory(struct agp_memory *curr) for (i = 0; i < curr->page_count; i++) { for (i = 0; i < curr->page_count; i++) { curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); } } flush_agp_mappings(); for (i = 0; i < curr->page_count; i++) { for (i = 0; i < curr->page_count; i++) { curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); } } Loading Loading @@ -267,8 +266,6 @@ struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, } } new->bridge = bridge; new->bridge = bridge; flush_agp_mappings(); return new; return new; } } EXPORT_SYMBOL(agp_allocate_memory); EXPORT_SYMBOL(agp_allocate_memory); Loading include/asm-alpha/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,6 @@ #define map_page_into_agp(page) #define map_page_into_agp(page) #define unmap_page_from_agp(page) #define unmap_page_from_agp(page) #define flush_agp_mappings() #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading include/asm-ia64/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -15,7 +15,6 @@ */ */ #define map_page_into_agp(page) /* nothing */ #define map_page_into_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define flush_agp_mappings() /* nothing */ #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading include/asm-parisc/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,6 @@ #define map_page_into_agp(page) /* nothing */ #define map_page_into_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define flush_agp_mappings() /* nothing */ #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading Loading
drivers/char/agp/backend.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -147,7 +147,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) printk(KERN_ERR PFX "unable to get memory for scratch page.\n"); printk(KERN_ERR PFX "unable to get memory for scratch page.\n"); return -ENOMEM; return -ENOMEM; } } flush_agp_mappings(); bridge->scratch_page_real = virt_to_gart(addr); bridge->scratch_page_real = virt_to_gart(addr); bridge->scratch_page = bridge->scratch_page = Loading Loading @@ -191,7 +190,6 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge) if (bridge->driver->needs_scratch_page) { if (bridge->driver->needs_scratch_page) { bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_UNMAP); AGP_PAGE_DESTROY_UNMAP); flush_agp_mappings(); bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_FREE); AGP_PAGE_DESTROY_FREE); } } Loading Loading @@ -219,7 +217,6 @@ static void agp_backend_cleanup(struct agp_bridge_data *bridge) bridge->driver->needs_scratch_page) { bridge->driver->needs_scratch_page) { bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_UNMAP); AGP_PAGE_DESTROY_UNMAP); flush_agp_mappings(); bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), bridge->driver->agp_destroy_page(gart_to_virt(bridge->scratch_page_real), AGP_PAGE_DESTROY_FREE); AGP_PAGE_DESTROY_FREE); } } Loading
drivers/char/agp/generic.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -197,7 +197,6 @@ void agp_free_memory(struct agp_memory *curr) for (i = 0; i < curr->page_count; i++) { for (i = 0; i < curr->page_count; i++) { curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); } } flush_agp_mappings(); for (i = 0; i < curr->page_count; i++) { for (i = 0; i < curr->page_count; i++) { curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); } } Loading Loading @@ -267,8 +266,6 @@ struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, } } new->bridge = bridge; new->bridge = bridge; flush_agp_mappings(); return new; return new; } } EXPORT_SYMBOL(agp_allocate_memory); EXPORT_SYMBOL(agp_allocate_memory); Loading
include/asm-alpha/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -7,7 +7,6 @@ #define map_page_into_agp(page) #define map_page_into_agp(page) #define unmap_page_from_agp(page) #define unmap_page_from_agp(page) #define flush_agp_mappings() #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading
include/asm-ia64/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -15,7 +15,6 @@ */ */ #define map_page_into_agp(page) /* nothing */ #define map_page_into_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define flush_agp_mappings() /* nothing */ #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading
include/asm-parisc/agp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -9,7 +9,6 @@ #define map_page_into_agp(page) /* nothing */ #define map_page_into_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define unmap_page_from_agp(page) /* nothing */ #define flush_agp_mappings() /* nothing */ #define flush_agp_cache() mb() #define flush_agp_cache() mb() /* Convert a physical address to an address suitable for the GART. */ /* Convert a physical address to an address suitable for the GART. */ Loading