Home
last modified time | relevance | path

Searched refs:bo_ptr (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c233 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved() argument
241 amdgpu_bo_unref(bo_ptr); in amdgpu_bo_create_reserved()
255 if (!*bo_ptr) { in amdgpu_bo_create_reserved()
256 r = amdgpu_bo_create(adev, &bp, bo_ptr); in amdgpu_bo_create_reserved()
265 r = amdgpu_bo_reserve(*bo_ptr, false); in amdgpu_bo_create_reserved()
271 r = amdgpu_bo_pin(*bo_ptr, domain); in amdgpu_bo_create_reserved()
277 r = amdgpu_ttm_alloc_gart(&(*bo_ptr)->tbo); in amdgpu_bo_create_reserved()
279 dev_err(adev->dev, "%p bind failed\n", *bo_ptr); in amdgpu_bo_create_reserved()
284 *gpu_addr = amdgpu_bo_gpu_offset(*bo_ptr); in amdgpu_bo_create_reserved()
287 r = amdgpu_bo_kmap(*bo_ptr, cpu_addr); in amdgpu_bo_create_reserved()
[all …]
Damdgpu_object.h231 struct amdgpu_bo **bo_ptr);
234 u32 domain, struct amdgpu_bo **bo_ptr,
238 u32 domain, struct amdgpu_bo **bo_ptr,
Damdgpu_ras.c70 struct amdgpu_bo **bo_ptr);
72 struct amdgpu_bo **bo_ptr);
1218 struct amdgpu_bo **bo_ptr) in amdgpu_ras_release_vram() argument
1221 amdgpu_bo_free_kernel(bo_ptr, NULL, NULL); in amdgpu_ras_release_vram()
1228 struct amdgpu_bo **bo_ptr) in amdgpu_ras_reserve_vram() argument
1236 if (bo_ptr) in amdgpu_ras_reserve_vram()
1237 *bo_ptr = NULL; in amdgpu_ras_reserve_vram()
1273 if (bo_ptr) in amdgpu_ras_reserve_vram()
1274 *bo_ptr = bo; in amdgpu_ras_reserve_vram()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_object.c97 struct virtio_gpu_object **bo_ptr, in virtio_gpu_object_create() argument
104 *bo_ptr = NULL; in virtio_gpu_object_create()
173 *bo_ptr = bo; in virtio_gpu_object_create()
Dvirtgpu_drv.h360 struct virtio_gpu_object **bo_ptr,
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_object.c83 struct qxl_bo **bo_ptr) in qxl_bo_create() argument
93 *bo_ptr = NULL; in qxl_bo_create()
123 *bo_ptr = bo; in qxl_bo_create()
Dqxl_object.h93 struct qxl_bo **bo_ptr);
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_object.h130 struct radeon_bo **bo_ptr);
Dradeon_object.c187 struct radeon_bo **bo_ptr) in radeon_bo_create() argument
204 *bo_ptr = NULL; in radeon_bo_create()
269 *bo_ptr = bo; in radeon_bo_create()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h86 struct amdgpu_bo *bo_ptr; member
Damdgpu_dm.c488 if (compressor->bo_ptr) in amdgpu_dm_fbc_init()
499 AMDGPU_GEM_DOMAIN_GTT, &compressor->bo_ptr, in amdgpu_dm_fbc_init()