Home
last modified time | relevance | path

Searched refs:vcpu_bo (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_uvd.c189 NULL, &rdev->uvd.vcpu_bo); in radeon_uvd_init()
195 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_init()
197 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
202 r = radeon_bo_pin(rdev->uvd.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_uvd_init()
205 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
206 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
211 r = radeon_bo_kmap(rdev->uvd.vcpu_bo, &rdev->uvd.cpu_addr); in radeon_uvd_init()
217 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
232 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_fini()
235 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_fini()
[all …]
Dradeon_vce.c144 &rdev->vce.vcpu_bo); in radeon_vce_init()
150 r = radeon_bo_reserve(rdev->vce.vcpu_bo, false); in radeon_vce_init()
152 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_init()
157 r = radeon_bo_pin(rdev->vce.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_vce_init()
159 radeon_bo_unreserve(rdev->vce.vcpu_bo); in radeon_vce_init()
161 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_init()
183 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_fini()
186 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_fini()
201 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_suspend()
226 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_resume()
[all …]
Dradeon.h1676 struct radeon_bo *vcpu_bo; member
1718 struct radeon_bo *vcpu_bo; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c187 AMDGPU_GEM_DOMAIN_VRAM, &adev->vce.vcpu_bo, in amdgpu_vce_sw_init()
216 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_sw_fini()
222 amdgpu_bo_free_kernel(&adev->vce.vcpu_bo, &adev->vce.gpu_addr, in amdgpu_vce_sw_fini()
270 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_suspend()
297 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_resume()
300 r = amdgpu_bo_reserve(adev->vce.vcpu_bo, false); in amdgpu_vce_resume()
306 r = amdgpu_bo_kmap(adev->vce.vcpu_bo, &cpu_addr); in amdgpu_vce_resume()
308 amdgpu_bo_unreserve(adev->vce.vcpu_bo); in amdgpu_vce_resume()
318 amdgpu_bo_kunmap(adev->vce.vcpu_bo); in amdgpu_vce_resume()
320 amdgpu_bo_unreserve(adev->vce.vcpu_bo); in amdgpu_vce_resume()
Damdgpu_vcn.c193 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init()
236 amdgpu_bo_free_kernel(&adev->vcn.inst[j].vcpu_bo, in amdgpu_vcn_sw_fini()
264 if (adev->vcn.inst[i].vcpu_bo == NULL) in amdgpu_vcn_suspend()
267 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_suspend()
288 if (adev->vcn.inst[i].vcpu_bo == NULL) in amdgpu_vcn_resume()
291 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_resume()
Damdgpu_vce.h36 struct amdgpu_bo *vcpu_bo; member
Damdgpu_uvd.h41 struct amdgpu_bo *vcpu_bo; member
Damdgpu_uvd.c287 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init()
336 amdgpu_bo_free_kernel(&adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_fini()
396 if (adev->uvd.inst[j].vcpu_bo == NULL) in amdgpu_uvd_suspend()
399 size = amdgpu_bo_size(adev->uvd.inst[j].vcpu_bo); in amdgpu_uvd_suspend()
428 if (adev->uvd.inst[i].vcpu_bo == NULL) in amdgpu_uvd_resume()
431 size = amdgpu_bo_size(adev->uvd.inst[i].vcpu_bo); in amdgpu_uvd_resume()
Dvce_v4_0.c446 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_sw_init()
560 if (adev->vce.vcpu_bo == NULL) in vce_v4_0_suspend()
564 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_suspend()
582 if (adev->vce.vcpu_bo == NULL) in vce_v4_0_resume()
586 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_resume()
Damdgpu_vcn.h193 struct amdgpu_bo *vcpu_bo; member