Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c230 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved() argument
238 amdgpu_bo_unref(bo_ptr); in amdgpu_bo_create_reserved()
253 if (!*bo_ptr) { in amdgpu_bo_create_reserved()
254 r = amdgpu_bo_create(adev, &bp, bo_ptr); in amdgpu_bo_create_reserved()
263 r = amdgpu_bo_reserve(*bo_ptr, false); in amdgpu_bo_create_reserved()
269 r = amdgpu_bo_pin(*bo_ptr, domain); in amdgpu_bo_create_reserved()
275 r = amdgpu_ttm_alloc_gart(&(*bo_ptr)->tbo); in amdgpu_bo_create_reserved()
277 dev_err(adev->dev, "%p bind failed\n", *bo_ptr); in amdgpu_bo_create_reserved()
282 *gpu_addr = amdgpu_bo_gpu_offset(*bo_ptr); in amdgpu_bo_create_reserved()
285 r = amdgpu_bo_kmap(*bo_ptr, cpu_addr); in amdgpu_bo_create_reserved()
[all …]
Damdgpu_object.h278 struct amdgpu_bo **bo_ptr);
281 u32 domain, struct amdgpu_bo **bo_ptr,
285 u32 domain, struct amdgpu_bo **bo_ptr,
289 struct amdgpu_bo **bo_ptr, void **cpu_addr);
/drivers/gpu/drm/virtio/
Dvirtgpu_object.c214 struct virtio_gpu_object **bo_ptr, in virtio_gpu_object_create() argument
224 *bo_ptr = NULL; in virtio_gpu_object_create()
275 *bo_ptr = bo; in virtio_gpu_object_create()
Dvirtgpu_vram.c126 struct virtio_gpu_object **bo_ptr) in virtio_gpu_vram_create() argument
165 *bo_ptr = &vram->base; in virtio_gpu_vram_create()
Dvirtgpu_drv.h434 struct virtio_gpu_object **bo_ptr,
461 struct virtio_gpu_object **bo_ptr);
/drivers/gpu/drm/qxl/
Dqxl_object.c112 struct qxl_bo **bo_ptr) in qxl_bo_create() argument
123 *bo_ptr = NULL; in qxl_bo_create()
157 *bo_ptr = bo; in qxl_bo_create()
Dqxl_object.h61 struct qxl_bo **bo_ptr);
/drivers/gpu/drm/radeon/
Dradeon_object.c155 struct radeon_bo **bo_ptr) in radeon_bo_create() argument
171 *bo_ptr = NULL; in radeon_bo_create()
233 *bo_ptr = bo; in radeon_bo_create()
Dradeon_object.h141 struct radeon_bo **bo_ptr);
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h87 struct amdgpu_bo *bo_ptr; member
Damdgpu_dm.c859 if (compressor->bo_ptr) in amdgpu_dm_fbc_init()
870 AMDGPU_GEM_DOMAIN_GTT, &compressor->bo_ptr, in amdgpu_dm_fbc_init()