Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_uvd.c145 NULL, &rdev->uvd.vcpu_bo); in radeon_uvd_init()
151 r = radeon_bo_reserve(rdev->uvd.vcpu_bo, false); in radeon_uvd_init()
153 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
158 r = radeon_bo_pin(rdev->uvd.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_uvd_init()
161 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
162 radeon_bo_unref(&rdev->uvd.vcpu_bo); in radeon_uvd_init()
167 r = radeon_bo_kmap(rdev->uvd.vcpu_bo, &rdev->uvd.cpu_addr); in radeon_uvd_init()
173 radeon_bo_unreserve(rdev->uvd.vcpu_bo); in radeon_uvd_init()
188 if (rdev->uvd.vcpu_bo == NULL) in radeon_uvd_fini()
191 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.h1677 struct radeon_bo *vcpu_bo; member
1718 struct radeon_bo *vcpu_bo; member
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c151 NULL, NULL, &adev->vce.vcpu_bo); in amdgpu_vce_sw_init()
157 r = amdgpu_bo_reserve(adev->vce.vcpu_bo, false); in amdgpu_vce_sw_init()
159 amdgpu_bo_unref(&adev->vce.vcpu_bo); in amdgpu_vce_sw_init()
164 r = amdgpu_bo_pin(adev->vce.vcpu_bo, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vce_sw_init()
166 amdgpu_bo_unreserve(adev->vce.vcpu_bo); in amdgpu_vce_sw_init()
168 amdgpu_bo_unref(&adev->vce.vcpu_bo); in amdgpu_vce_sw_init()
190 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_sw_fini()
193 amdgpu_bo_unref(&adev->vce.vcpu_bo); in amdgpu_vce_sw_fini()
213 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_suspend()
241 if (adev->vce.vcpu_bo == NULL) in amdgpu_vce_resume()
[all …]
Damdgpu_uvd.c167 NULL, NULL, &adev->uvd.vcpu_bo); in amdgpu_uvd_sw_init()
173 r = amdgpu_bo_reserve(adev->uvd.vcpu_bo, false); in amdgpu_uvd_sw_init()
175 amdgpu_bo_unref(&adev->uvd.vcpu_bo); in amdgpu_uvd_sw_init()
180 r = amdgpu_bo_pin(adev->uvd.vcpu_bo, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_sw_init()
183 amdgpu_bo_unreserve(adev->uvd.vcpu_bo); in amdgpu_uvd_sw_init()
184 amdgpu_bo_unref(&adev->uvd.vcpu_bo); in amdgpu_uvd_sw_init()
189 r = amdgpu_bo_kmap(adev->uvd.vcpu_bo, &adev->uvd.cpu_addr); in amdgpu_uvd_sw_init()
195 amdgpu_bo_unreserve(adev->uvd.vcpu_bo); in amdgpu_uvd_sw_init()
213 if (adev->uvd.vcpu_bo == NULL) in amdgpu_uvd_sw_fini()
216 r = amdgpu_bo_reserve(adev->uvd.vcpu_bo, false); in amdgpu_uvd_sw_fini()
[all …]
Damdgpu.h1673 struct amdgpu_bo *vcpu_bo; member
1696 struct amdgpu_bo *vcpu_bo; member