Searched refs:dummy_page (Results 1 – 23 of 23) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 804 if (rdev->dummy_page.page) in radeon_dummy_page_init() 806 rdev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in radeon_dummy_page_init() 807 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_init() 809 rdev->dummy_page.addr = pci_map_page(rdev->pdev, rdev->dummy_page.page, in radeon_dummy_page_init() 811 if (pci_dma_mapping_error(rdev->pdev, rdev->dummy_page.addr)) { in radeon_dummy_page_init() 813 __free_page(rdev->dummy_page.page); in radeon_dummy_page_init() 814 rdev->dummy_page.page = NULL; in radeon_dummy_page_init() 817 rdev->dummy_page.entry = radeon_gart_get_page_entry(rdev->dummy_page.addr, in radeon_dummy_page_init() 831 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_fini() 833 pci_unmap_page(rdev->pdev, rdev->dummy_page.addr, in radeon_dummy_page_fini() [all …]
|
D | radeon_gart.c | 255 rdev->gart.pages_entry[t] = rdev->dummy_page.entry; in radeon_gart_unbind() 258 rdev->dummy_page.entry); in radeon_gart_unbind() 360 rdev->gart.pages_entry[i] = rdev->dummy_page.entry; in radeon_gart_init()
|
D | ni.c | 1313 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable() 1337 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
|
D | rv770.c | 931 (u32)(rdev->dummy_page.addr >> 12)); in rv770_pcie_gart_enable()
|
D | radeon.h | 2403 struct radeon_dummy_page dummy_page; member
|
D | si.c | 4312 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable() 4340 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
|
D | cik.c | 5510 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable() 5534 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
|
D | r600.c | 1169 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable()
|
D | evergreen.c | 2546 (u32)(rdev->dummy_page.addr >> 12)); in evergreen_pcie_gart_enable()
|
/drivers/gpu/drm/gma500/ |
D | mmu.c | 191 pd->dummy_page = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd() 192 if (!pd->dummy_page) in psb_mmu_alloc_pd() 198 pd->invalid_pte = psb_mmu_mask_pte(page_to_pfn(pd->dummy_page), in psb_mmu_alloc_pd() 217 clear_page(kmap(pd->dummy_page)); in psb_mmu_alloc_pd() 218 kunmap(pd->dummy_page); in psb_mmu_alloc_pd() 231 __free_page(pd->dummy_page); in psb_mmu_alloc_pd() 271 __free_page(pd->dummy_page); in psb_mmu_free_pagedir()
|
D | mmu.h | 56 struct page *dummy_page; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gart.c | 244 page_base = adev->dummy_page.addr; in amdgpu_gart_unbind() 317 if (adev->dummy_page.page) in amdgpu_gart_init()
|
D | amdgpu_device.c | 694 if (adev->dummy_page.page) in amdgpu_dummy_page_init() 696 adev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in amdgpu_dummy_page_init() 697 if (adev->dummy_page.page == NULL) in amdgpu_dummy_page_init() 699 adev->dummy_page.addr = pci_map_page(adev->pdev, adev->dummy_page.page, in amdgpu_dummy_page_init() 701 if (pci_dma_mapping_error(adev->pdev, adev->dummy_page.addr)) { in amdgpu_dummy_page_init() 703 __free_page(adev->dummy_page.page); in amdgpu_dummy_page_init() 704 adev->dummy_page.page = NULL; in amdgpu_dummy_page_init() 719 if (adev->dummy_page.page == NULL) in amdgpu_dummy_page_fini() 721 pci_unmap_page(adev->pdev, adev->dummy_page.addr, in amdgpu_dummy_page_fini() 723 __free_page(adev->dummy_page.page); in amdgpu_dummy_page_fini() [all …]
|
D | cik_ih.c | 114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cik_ih_irq_init()
|
D | gmc_v6_0.c | 411 (u32)(adev->dummy_page.addr >> 12)); in gmc_v6_0_gart_enable() 439 (u32)(adev->dummy_page.addr >> 12)); in gmc_v6_0_gart_enable()
|
D | iceland_ih.c | 114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in iceland_ih_irq_init()
|
D | cz_ih.c | 114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cz_ih_irq_init()
|
D | tonga_ih.c | 110 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in tonga_ih_irq_init()
|
D | gmc_v7_0.c | 530 (u32)(adev->dummy_page.addr >> 12)); in gmc_v7_0_gart_enable() 560 (u32)(adev->dummy_page.addr >> 12)); in gmc_v7_0_gart_enable()
|
D | gmc_v8_0.c | 655 (u32)(adev->dummy_page.addr >> 12)); in gmc_v8_0_gart_enable() 685 (u32)(adev->dummy_page.addr >> 12)); in gmc_v8_0_gart_enable()
|
D | amdgpu.h | 2035 struct amdgpu_dummy_page dummy_page; member
|
/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 609 if (omap_dmm->dummy_page) in omap_dmm_remove() 610 __free_page(omap_dmm->dummy_page); in omap_dmm_remove() 719 omap_dmm->dummy_page = alloc_page(GFP_KERNEL | __GFP_DMA32); in omap_dmm_probe() 720 if (!omap_dmm->dummy_page) { in omap_dmm_probe() 731 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); in omap_dmm_probe()
|
D | omap_dmm_priv.h | 165 struct page *dummy_page; member
|