Home
last modified time | relevance | path

Searched refs:gobj (Results 1 – 12 of 12) sorted by relevance

/dragonfly/sys/dev/drm/radeon/
H A Dradeon_gem.c269 false, &gobj); in radeon_gem_create_ioctl()
328 false, &gobj);
397 if (gobj == NULL) { in radeon_gem_set_domain_ioctl()
419 if (gobj == NULL) { in radeon_mode_dumb_mmap()
452 if (gobj == NULL) { in radeon_gem_busy_ioctl()
481 if (gobj == NULL) { in radeon_gem_wait_idle_ioctl()
514 if (gobj == NULL) in radeon_gem_set_tiling_ioctl()
532 if (gobj == NULL) in radeon_gem_get_tiling_ioctl()
667 if (gobj == NULL) { in radeon_gem_va_ioctl()
722 if (gobj == NULL) { in radeon_gem_op_ioctl()
[all …]
H A Dradeon_fb.c120 struct radeon_bo *rbo = gem_to_radeon_bo(gobj); in radeonfb_destroy_pinned_object()
129 drm_gem_object_put_unlocked(gobj); in radeonfb_destroy_pinned_object()
137 struct drm_gem_object *gobj = NULL; in radeonfb_create_pinned_object() local
158 0, true, &gobj); in radeonfb_create_pinned_object()
163 rbo = gem_to_radeon_bo(gobj); in radeonfb_create_pinned_object()
208 *gobj_p = gobj; in radeonfb_create_pinned_object()
211 radeonfb_destroy_pinned_object(gobj); in radeonfb_create_pinned_object()
225 struct drm_gem_object *gobj = NULL; in radeonfb_create() local
240 ret = radeonfb_create_pinned_object(rfbdev, &mode_cmd, &gobj); in radeonfb_create()
246 rbo = gem_to_radeon_bo(gobj); in radeonfb_create()
[all …]
H A Dradeon_prime.c42 struct drm_gem_object *gobj,
139 struct drm_gem_object *gobj, in radeon_gem_prime_export() argument
142 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export()
145 return drm_gem_prime_export(dev, gobj, flags); in radeon_gem_prime_export()
H A Dradeon_cs.c100 struct drm_gem_object *gobj; in radeon_cs_parser_relocs() local
104 gobj = drm_gem_object_lookup(p->filp, r->handle); in radeon_cs_parser_relocs()
105 if (gobj == NULL) { in radeon_cs_parser_relocs()
110 p->relocs[i].robj = gem_to_radeon_bo(gobj); in radeon_cs_parser_relocs()
H A Dradeon_drv.c128 struct drm_gem_object *gobj,
H A Dradeon.h524 #define gem_to_radeon_bo(gobj) container_of((gobj), struct radeon_bo, gem_base) argument
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_gem.c100 struct drm_gem_object *gobj; in amdgpu_gem_force_release() local
218 struct drm_gem_object *gobj; in amdgpu_gem_create_ioctl() local
300 struct drm_gem_object *gobj; in amdgpu_gem_userptr_ioctl()
327 bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_userptr_ioctl()
380 struct drm_gem_object *gobj; in amdgpu_mode_dumb_mmap() local
384 if (gobj == NULL) { in amdgpu_mode_dumb_mmap()
447 if (gobj == NULL) { in amdgpu_gem_wait_idle_ioctl()
478 if (gobj == NULL) in amdgpu_gem_metadata_ioctl()
623 if (gobj == NULL) in amdgpu_gem_va_ioctl()
630 gobj = NULL; in amdgpu_gem_va_ioctl()
[all …]
H A Damdgpu_fb.c116 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpufb_destroy_pinned_object()
125 drm_gem_object_put_unlocked(gobj); in amdgpufb_destroy_pinned_object()
133 struct drm_gem_object *gobj = NULL; in amdgpufb_create_pinned_object() local
156 ttm_bo_type_kernel, NULL, &gobj); in amdgpufb_create_pinned_object()
161 abo = gem_to_amdgpu_bo(gobj); in amdgpufb_create_pinned_object()
197 *gobj_p = gobj; in amdgpufb_create_pinned_object()
200 amdgpufb_destroy_pinned_object(gobj); in amdgpufb_create_pinned_object()
213 struct drm_gem_object *gobj = NULL; in amdgpufb_create() local
233 abo = gem_to_amdgpu_bo(gobj); in amdgpufb_create()
248 &mode_cmd, gobj); in amdgpufb_create()
[all …]
H A Damdgpu_bo_list.c90 struct drm_gem_object *gobj; in amdgpu_bo_list_create() local
94 gobj = drm_gem_object_lookup(filp, info[i].bo_handle); in amdgpu_bo_list_create()
95 if (!gobj) { in amdgpu_bo_list_create()
100 bo = amdgpu_bo_ref(gem_to_amdgpu_bo(gobj)); in amdgpu_bo_list_create()
101 drm_gem_object_put_unlocked(gobj); in amdgpu_bo_list_create()
H A Damdgpu_prime.c412 struct drm_gem_object *gobj, in amdgpu_gem_prime_export() argument
415 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export()
422 buf = drm_gem_prime_export(dev, gobj, flags); in amdgpu_gem_prime_export()
H A Damdgpu_cs.c40 struct drm_gem_object *gobj; in amdgpu_cs_user_fence_chunk() local
44 gobj = drm_gem_object_lookup(p->filp, data->handle); in amdgpu_cs_user_fence_chunk()
45 if (gobj == NULL) in amdgpu_cs_user_fence_chunk()
48 p->uf_entry.robj = amdgpu_bo_ref(gem_to_amdgpu_bo(gobj)); in amdgpu_cs_user_fence_chunk()
54 drm_gem_object_put_unlocked(gobj); in amdgpu_cs_user_fence_chunk()
H A Damdgpu.h373 #define gem_to_amdgpu_bo(gobj) container_of((gobj), struct amdgpu_bo, gem_base) argument
387 struct drm_gem_object *gobj,