Home
last modified time | relevance | path

Searched refs:aper_base_kaddr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dpsp_v11_0.c511 if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { in psp_v11_0_memory_training()
514 adev->mman.aper_base_kaddr); in psp_v11_0_memory_training()
525 memcpy_fromio(buf, adev->mman.aper_base_kaddr, sz); in psp_v11_0_memory_training()
534 memcpy_toio(adev->mman.aper_base_kaddr, buf, sz); in psp_v11_0_memory_training()
Dpsp_v14_0.c467 if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { in psp_v14_0_memory_training()
470 adev->mman.aper_base_kaddr); in psp_v14_0_memory_training()
481 memcpy_fromio(buf, adev->mman.aper_base_kaddr, sz); in psp_v14_0_memory_training()
490 memcpy_toio(adev->mman.aper_base_kaddr, buf, sz); in psp_v14_0_memory_training()
Dpsp_v13_0.c579 if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { in psp_v13_0_memory_training()
582 adev->mman.aper_base_kaddr); in psp_v13_0_memory_training()
593 memcpy_fromio(buf, adev->mman.aper_base_kaddr, sz); in psp_v13_0_memory_training()
602 memcpy_toio(adev->mman.aper_base_kaddr, buf, sz); in psp_v13_0_memory_training()
Damdgpu_ttm.h56 void __iomem *aper_base_kaddr; member
Damdgpu_ttm.c613 if (adev->mman.aper_base_kaddr && in amdgpu_ttm_io_mem_reserve()
615 mem->bus.addr = (u8 *)adev->mman.aper_base_kaddr + in amdgpu_ttm_io_mem_reserve()
1882 adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base, in amdgpu_ttm_init()
1890 adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, in amdgpu_ttm_init()
2052 if (adev->mman.aper_base_kaddr) in amdgpu_ttm_fini()
2053 iounmap(adev->mman.aper_base_kaddr); in amdgpu_ttm_fini()
2054 adev->mman.aper_base_kaddr = NULL; in amdgpu_ttm_fini()
Damdgpu_device.c508 if (!adev->mman.aper_base_kaddr) in amdgpu_device_aper_access()
513 addr = adev->mman.aper_base_kaddr + pos; in amdgpu_device_aper_access()
4508 if (adev->mman.aper_base_kaddr) in amdgpu_device_unmap_mmio()
4509 iounmap(adev->mman.aper_base_kaddr); in amdgpu_device_unmap_mmio()
4510 adev->mman.aper_base_kaddr = NULL; in amdgpu_device_unmap_mmio()