Home
last modified time | relevance | path

Searched refs:pdb0_bo (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfxhub_v1_0.c58 if (adev->gmc.pdb0_bo) in gfxhub_v1_0_init_gart_aperture_regs()
59 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in gfxhub_v1_0_init_gart_aperture_regs()
68 if (adev->gmc.pdb0_bo) { in gfxhub_v1_0_init_gart_aperture_regs()
144 if (adev->gmc.pdb0_bo) { in gfxhub_v1_0_init_system_aperture_regs()
H A Damdgpu_gmc.c67 r = amdgpu_bo_create(adev, &bp, &adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc()
71 r = amdgpu_bo_reserve(adev->gmc.pdb0_bo, false); in amdgpu_gmc_pdb0_alloc()
75 r = amdgpu_bo_pin(adev->gmc.pdb0_bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gmc_pdb0_alloc()
78 r = amdgpu_bo_kmap(adev->gmc.pdb0_bo, &adev->gmc.ptr_pdb0); in amdgpu_gmc_pdb0_alloc()
82 amdgpu_bo_unreserve(adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc()
86 amdgpu_bo_unpin(adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc()
88 amdgpu_bo_unreserve(adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc()
90 amdgpu_bo_unref(&adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc()
H A Dgfxhub_v1_2.c80 if (adev->gmc.pdb0_bo) in gfxhub_v1_2_xcc_init_gart_aperture_regs()
81 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
91 if (adev->gmc.pdb0_bo) { in gfxhub_v1_2_xcc_init_gart_aperture_regs()
183 if (adev->gmc.pdb0_bo) { in gfxhub_v1_2_xcc_init_system_aperture_regs()
H A Dmmhub_v1_8.c83 if (adev->gmc.pdb0_bo) in mmhub_v1_8_init_gart_aperture_regs()
84 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in mmhub_v1_8_init_gart_aperture_regs()
95 if (adev->gmc.pdb0_bo) { in mmhub_v1_8_init_gart_aperture_regs()
156 if (adev->gmc.pdb0_bo) { in mmhub_v1_8_init_system_aperture_regs()
H A Dmmhub_v1_7.c70 if (adev->gmc.pdb0_bo) in mmhub_v1_7_init_gart_aperture_regs()
71 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in mmhub_v1_7_init_gart_aperture_regs()
80 if (adev->gmc.pdb0_bo) { in mmhub_v1_7_init_gart_aperture_regs()
127 if (adev->gmc.pdb0_bo) { in mmhub_v1_7_init_system_aperture_regs()
H A Damdgpu_gmc.h328 struct amdgpu_bo *pdb0_bo; member
H A Dgmc_v9_0.c2289 amdgpu_bo_free_kernel(&adev->gmc.pdb0_bo, NULL, &adev->gmc.ptr_pdb0); in gmc_v9_0_sw_fini()
2373 if (adev->gmc.pdb0_bo) in gmc_v9_0_gart_enable()
2375 (unsigned long long)amdgpu_bo_gpu_offset(adev->gmc.pdb0_bo)); in gmc_v9_0_gart_enable()
H A Damdgpu_ttm.c2157 (*job)->vm_pd_addr = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo ? in amdgpu_ttm_prepare_job()
2158 adev->gmc.pdb0_bo : in amdgpu_ttm_prepare_job()