Searched refs:vcpu_bo (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 191 NULL, &rdev->uvd.vcpu_bo); in radeon_uvd_init() 197 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_init() 199 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init() 204 r = radeon_bo_pin(rdev->uvd.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_uvd_init() 207 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init() 208 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init() 213 r = radeon_bo_kmap(rdev->uvd.vcpu_bo, &rdev->uvd.cpu_addr); in radeon_uvd_init() 219 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init() 234 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_fini() 237 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_fini() [all …]
|
D | radeon_vce.c | 143 &rdev->vce.vcpu_bo); in radeon_vce_init() 149 r = radeon_bo_reserve(rdev->vce.vcpu_bo, false); in radeon_vce_init() 151 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_init() 156 r = radeon_bo_pin(rdev->vce.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_vce_init() 158 radeon_bo_unreserve(rdev->vce.vcpu_bo); in radeon_vce_init() 160 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_init() 182 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_fini() 185 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_fini() 200 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_suspend() 225 if (rdev->vce.vcpu_bo == NULL) in radeon_vce_resume() [all …]
|
D | radeon.h | 1707 struct radeon_bo *vcpu_bo; member 1749 struct radeon_bo *vcpu_bo; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vce.c | 189 AMDGPU_GEM_DOMAIN_VRAM, &adev->vce.vcpu_bo, in amdgpu_vce_sw_init() 218 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_sw_fini() 223 amdgpu_bo_free_kernel(&adev->vce.vcpu_bo, &adev->vce.gpu_addr, in amdgpu_vce_sw_fini() 271 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_suspend() 298 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_resume() 301 r = amdgpu_bo_reserve(adev->vce.vcpu_bo, false); in amdgpu_vce_resume() 307 r = amdgpu_bo_kmap(adev->vce.vcpu_bo, &cpu_addr); in amdgpu_vce_resume() 309 amdgpu_bo_unreserve(adev->vce.vcpu_bo); in amdgpu_vce_resume() 323 amdgpu_bo_kunmap(adev->vce.vcpu_bo); in amdgpu_vce_resume() 325 amdgpu_bo_unreserve(adev->vce.vcpu_bo); in amdgpu_vce_resume()
|
D | amdgpu_vcn.c | 234 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init() 275 amdgpu_bo_free_kernel(&adev->vcn.inst[j].vcpu_bo, in amdgpu_vcn_sw_fini() 326 if (adev->vcn.inst[i].vcpu_bo == NULL) in amdgpu_vcn_suspend() 329 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_suspend() 353 if (adev->vcn.inst[i].vcpu_bo == NULL) in amdgpu_vcn_resume() 356 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_resume()
|
D | amdgpu_uvd.c | 288 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() 432 if (adev->uvd.inst[i].vcpu_bo == NULL) in amdgpu_uvd_resume() 435 size = amdgpu_bo_size(adev->uvd.inst[i].vcpu_bo); in amdgpu_uvd_resume()
|
D | amdgpu_vce.h | 36 struct amdgpu_bo *vcpu_bo; member
|
D | amdgpu_uvd.h | 41 struct amdgpu_bo *vcpu_bo; member
|
D | vce_v4_0.c | 447 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_sw_init() 563 if (adev->vce.vcpu_bo == NULL) in vce_v4_0_suspend() 568 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_suspend() 611 if (adev->vce.vcpu_bo == NULL) in vce_v4_0_resume() 617 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_resume()
|
D | amdgpu_vcn.h | 209 struct amdgpu_bo *vcpu_bo; member
|