Home
last modified time | relevance | path

Searched refs:dummy_page (Results 1 – 23 of 23) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_device.c804 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 …]
Dradeon_gart.c255 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()
Dni.c1313 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
1337 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
Drv770.c931 (u32)(rdev->dummy_page.addr >> 12)); in rv770_pcie_gart_enable()
Dradeon.h2403 struct radeon_dummy_page dummy_page; member
Dsi.c4312 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
4340 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
Dcik.c5510 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
5534 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
Dr600.c1169 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable()
Devergreen.c2546 (u32)(rdev->dummy_page.addr >> 12)); in evergreen_pcie_gart_enable()
/drivers/gpu/drm/gma500/
Dmmu.c191 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()
Dmmu.h56 struct page *dummy_page; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.c244 page_base = adev->dummy_page.addr; in amdgpu_gart_unbind()
317 if (adev->dummy_page.page) in amdgpu_gart_init()
Damdgpu_device.c694 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 …]
Dcik_ih.c114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cik_ih_irq_init()
Dgmc_v6_0.c411 (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()
Diceland_ih.c114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in iceland_ih_irq_init()
Dcz_ih.c114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cz_ih_irq_init()
Dtonga_ih.c110 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in tonga_ih_irq_init()
Dgmc_v7_0.c530 (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()
Dgmc_v8_0.c655 (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()
Damdgpu.h2035 struct amdgpu_dummy_page dummy_page; member
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c609 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()
Domap_dmm_priv.h165 struct page *dummy_page; member