Home
last modified time | relevance | path

Searched refs:dobj (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/armada/
Darmada_gem.c52 struct armada_gem_object *dobj = drm_to_armada_gem(obj); in armada_gem_free_object() local
54 DRM_DEBUG_DRIVER("release obj %p\n", dobj); in armada_gem_free_object()
56 drm_gem_free_mmap_offset(&dobj->obj); in armada_gem_free_object()
58 if (dobj->page) { in armada_gem_free_object()
60 unsigned int order = get_order(dobj->obj.size); in armada_gem_free_object()
61 __free_pages(dobj->page, order); in armada_gem_free_object()
62 } else if (dobj->linear) { in armada_gem_free_object()
64 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
65 kfree(dobj->linear); in armada_gem_free_object()
66 if (dobj->addr) in armada_gem_free_object()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_benchmark.c90 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.resv); in radeon_benchmark_move()
136 dobj->tbo.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/
Damdgpu_benchmark.c75 struct amdgpu_bo *dobj = NULL; in amdgpu_benchmark_move() local
96 NULL, &dobj); in amdgpu_benchmark_move()
100 r = amdgpu_bo_reserve(dobj, false); in amdgpu_benchmark_move()
103 r = amdgpu_bo_pin(dobj, ddomain, &daddr); in amdgpu_benchmark_move()
104 amdgpu_bo_unreserve(dobj); in amdgpu_benchmark_move()
127 if (dobj) { in amdgpu_benchmark_move()
128 r = amdgpu_bo_reserve(dobj, false); in amdgpu_benchmark_move()
130 amdgpu_bo_unpin(dobj); in amdgpu_benchmark_move()
131 amdgpu_bo_unreserve(dobj); in amdgpu_benchmark_move()
133 amdgpu_bo_unref(&dobj); in amdgpu_benchmark_move()