Searched refs:dobj (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/armada/ |
D | armada_gem.c | 43 struct armada_gem_object *dobj = drm_to_armada_gem(obj); in armada_gem_free_object() local 46 DRM_DEBUG_DRIVER("release obj %p\n", dobj); in armada_gem_free_object() 48 drm_gem_free_mmap_offset(&dobj->obj); in armada_gem_free_object() 52 if (dobj->page) { in armada_gem_free_object() 54 unsigned int order = get_order(dobj->obj.size); in armada_gem_free_object() 55 __free_pages(dobj->page, order); in armada_gem_free_object() 56 } else if (dobj->linear) { in armada_gem_free_object() 59 drm_mm_remove_node(dobj->linear); in armada_gem_free_object() 61 kfree(dobj->linear); in armada_gem_free_object() 62 if (dobj->addr) in armada_gem_free_object() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 90 struct radeon_bo *dobj = NULL; in radeon_benchmark_move() local 109 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, ddomain, 0, NULL, NULL, &dobj); in radeon_benchmark_move() 113 r = radeon_bo_reserve(dobj, false); in radeon_benchmark_move() 116 r = radeon_bo_pin(dobj, ddomain, &daddr); in radeon_benchmark_move() 117 radeon_bo_unreserve(dobj); in radeon_benchmark_move() 125 dobj->tbo.base.resv); in radeon_benchmark_move() 136 dobj->tbo.base.resv); in radeon_benchmark_move() 153 if (dobj) { in radeon_benchmark_move() 154 r = radeon_bo_reserve(dobj, false); in radeon_benchmark_move() 156 radeon_bo_unpin(dobj); in radeon_benchmark_move() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 78 struct amdgpu_bo *dobj = NULL; in amdgpu_benchmark_move() local 95 &dobj, in amdgpu_benchmark_move() 117 if (dobj) in amdgpu_benchmark_move() 118 amdgpu_bo_free_kernel(&dobj, &daddr, NULL); in amdgpu_benchmark_move()
|