Searched refs:max_ati_pages (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/
H A Dati_pcigart.c107 int max_ati_pages, max_real_pages; drm_ati_pcigart_init() local
142 max_ati_pages = (gart_info->table_size / sizeof(u32)); drm_ati_pcigart_init()
143 max_real_pages = max_ati_pages / (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); drm_ati_pcigart_init()
148 memset(pci_gart, 0, max_ati_pages * sizeof(u32)); drm_ati_pcigart_init()
150 memset_io((void __iomem *)map->handle, 0, max_ati_pages * sizeof(u32)); drm_ati_pcigart_init()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr600_cp.c189 int max_ati_pages, max_real_pages, gart_idx; r600_page_table_init() local
192 max_ati_pages = (gart_info->table_size / sizeof(u64)); r600_page_table_init()
193 max_real_pages = max_ati_pages / (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); r600_page_table_init()
198 memset_io((void __iomem *)map->handle, 0, max_ati_pages * sizeof(u64)); r600_page_table_init()

Completed in 99 milliseconds