/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 805 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 …]
|
D | radeon_gart.c | 258 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()
|
D | ni.c | 1305 (u32)(rdev->dummy_page.addr >> 12)); in cayman_pcie_gart_enable() 1329 (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 | si.c | 4316 (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()
|
D | r600.c | 1169 (u32)(rdev->dummy_page.addr >> 12)); in r600_pcie_gart_enable() 3694 WREG32(INTERRUPT_CNTL2, rdev->dummy_page.addr >> 8); in r600_irq_init()
|
D | cik.c | 5496 (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/ |
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 | 251 page_base = adev->dummy_page.addr; in amdgpu_gart_unbind() 359 if (adev->dummy_page.page) in amdgpu_gart_init()
|
D | gfxhub_v1_0.c | 96 (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()
|
D | amdgpu_device.c | 723 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 …]
|
D | nbio_v7_0.c | 177 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in nbio_v7_0_ih_control()
|
D | nbio_v6_1.c | 144 WREG32_SOC15(NBIO, 0, mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in nbio_v6_1_ih_control()
|
D | mmhub_v1_0.c | 108 (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()
|
D | cik_ih.c | 114 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in cik_ih_irq_init()
|
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 | gmc_v6_0.c | 520 (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()
|
D | tonga_ih.c | 110 WREG32(mmINTERRUPT_CNTL2, adev->dummy_page.addr >> 8); in tonga_ih_irq_init()
|
D | gmc_v7_0.c | 627 (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()
|
D | gmc_v8_0.c | 871 (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()
|
D | amdgpu.h | 1479 struct amdgpu_dummy_page dummy_page; member
|
/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 624 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()
|
D | omap_dmm_priv.h | 165 struct page *dummy_page; member
|