Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/radeon/
Dradeon_device.c805 if (rdev->dummy_page.page) in radeon_dummy_page_init()
807 rdev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in radeon_dummy_page_init()
808 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_init()
810 rdev->dummy_page.addr = pci_map_page(rdev->pdev, rdev->dummy_page.page, in radeon_dummy_page_init()
812 if (pci_dma_mapping_error(rdev->pdev, rdev->dummy_page.addr)) { in radeon_dummy_page_init()
814 __free_page(rdev->dummy_page.page); in radeon_dummy_page_init()
815 rdev->dummy_page.page = NULL; in radeon_dummy_page_init()
818 rdev->dummy_page.entry = radeon_gart_get_page_entry(rdev->dummy_page.addr, in radeon_dummy_page_init()
832 if (rdev->dummy_page.page == NULL) in radeon_dummy_page_fini()
834 pci_unmap_page(rdev->pdev, rdev->dummy_page.addr, in radeon_dummy_page_fini()
[all …]
Dradeon_gart.c258 rdev->gart.pages_entry[t] = rdev->dummy_page.entry; in radeon_gart_unbind()
261 rdev->dummy_page.entry); in radeon_gart_unbind()
363 rdev->gart.pages_entry[i] = rdev->dummy_page.entry; in radeon_gart_init()
Dni.c1305 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
1329 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable()
Drv770.c931 (u32)(rdev->dummy_page.addr >> 12)); in rv770_pcie_gart_enable()
Dsi.c4316 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
4344 (u32)(rdev->dummy_page.addr >> 12)); in si_pcie_gart_enable()
5997 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in si_irq_init()
Dr600.c1169 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable()
3694 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in r600_irq_init()
Dcik.c5496 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
5520 (u32)(rdev->dummy_page.addr >> 12)); in cik_pcie_gart_enable()
7016 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in cik_irq_init()
/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.c251 page_base = adev->dummy_page.addr; in amdgpu_gart_unbind()
359 if (adev->dummy_page.page) in amdgpu_gart_init()
Dgfxhub_v1_0.c96 (u32)(adev->dummy_page.addr >> 12)); in gfxhub_v1_0_init_system_aperture_regs()
98 (u32)((u64)adev->dummy_page.addr >> 44)); in gfxhub_v1_0_init_system_aperture_regs()
Damdgpu_device.c723 if (adev->dummy_page.page) in amdgpu_dummy_page_init()
725 adev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in amdgpu_dummy_page_init()
726 if (adev->dummy_page.page == NULL) in amdgpu_dummy_page_init()
728 adev->dummy_page.addr = pci_map_page(adev->pdev, adev->dummy_page.page, in amdgpu_dummy_page_init()
730 if (pci_dma_mapping_error(adev->pdev, adev->dummy_page.addr)) { in amdgpu_dummy_page_init()
732 __free_page(adev->dummy_page.page); in amdgpu_dummy_page_init()
733 adev->dummy_page.page = NULL; in amdgpu_dummy_page_init()
748 if (adev->dummy_page.page == NULL) in amdgpu_dummy_page_fini()
750 pci_unmap_page(adev->pdev, adev->dummy_page.addr, in amdgpu_dummy_page_fini()
752 __free_page(adev->dummy_page.page); in amdgpu_dummy_page_fini()
[all …]
Dnbio_v7_0.c177 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in nbio_v7_0_ih_control()
Dnbio_v6_1.c144 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in nbio_v6_1_ih_control()
Dmmhub_v1_0.c108 (u32)(adev->dummy_page.addr >> 12)); in mmhub_v1_0_init_system_aperture_regs()
110 (u32)((u64)adev->dummy_page.addr >> 44)); in mmhub_v1_0_init_system_aperture_regs()
Dcik_ih.c114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cik_ih_irq_init()
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()
Dgmc_v6_0.c520 (u32)(adev->dummy_page.addr >> 12)); in gmc_v6_0_gart_enable()
550 (u32)(adev->dummy_page.addr >> 12)); in gmc_v6_0_gart_enable()
Dtonga_ih.c110 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in tonga_ih_irq_init()
Dgmc_v7_0.c627 (u32)(adev->dummy_page.addr >> 12)); in gmc_v7_0_gart_enable()
657 (u32)(adev->dummy_page.addr >> 12)); in gmc_v7_0_gart_enable()
Dgmc_v8_0.c871 (u32)(adev->dummy_page.addr >> 12)); in gmc_v8_0_gart_enable()
901 (u32)(adev->dummy_page.addr >> 12)); in gmc_v8_0_gart_enable()
Damdgpu.h1479 struct amdgpu_dummy_page dummy_page; member
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c624 if (omap_dmm->dummy_page) in omap_dmm_remove()
625 __free_page(omap_dmm->dummy_page); in omap_dmm_remove()
734 omap_dmm->dummy_page = alloc_page(GFP_KERNEL | __GFP_DMA32); in omap_dmm_probe()
735 if (!omap_dmm->dummy_page) { in omap_dmm_probe()
746 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); in omap_dmm_probe()
Domap_dmm_priv.h165 struct page *dummy_page; member

12