Home
last modified time | relevance | path

Searched refs:gem_obj (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/
Ddrm_gem_cma_helper.c52 struct drm_gem_object *gem_obj; in drm_gem_cma_create() local
69 gem_obj = &cma_obj->base; in drm_gem_cma_create()
71 ret = drm_gem_object_init(drm, gem_obj, size); in drm_gem_cma_create()
75 ret = drm_gem_create_mmap_offset(gem_obj); in drm_gem_cma_create()
82 drm_gem_object_release(gem_obj); in drm_gem_cma_create()
107 struct drm_gem_object *gem_obj; in drm_gem_cma_create_with_handle() local
114 gem_obj = &cma_obj->base; in drm_gem_cma_create_with_handle()
120 ret = drm_gem_handle_create(file_priv, gem_obj, handle); in drm_gem_cma_create_with_handle()
125 drm_gem_object_unreference_unlocked(gem_obj); in drm_gem_cma_create_with_handle()
130 drm_gem_cma_free_object(gem_obj); in drm_gem_cma_create_with_handle()
[all …]
/drivers/gpu/drm/udl/
Dudl_gem.c213 void udl_gem_free_object(struct drm_gem_object *gem_obj) in udl_gem_free_object() argument
215 struct udl_gem_object *obj = to_udl_bo(gem_obj); in udl_gem_free_object()
220 if (gem_obj->import_attach) in udl_gem_free_object()
221 drm_prime_gem_destroy(gem_obj, obj->sg); in udl_gem_free_object()
226 if (gem_obj->map_list.map) in udl_gem_free_object()
227 drm_gem_free_mmap_offset(gem_obj); in udl_gem_free_object()
Dudl_drv.h121 void udl_gem_free_object(struct drm_gem_object *gem_obj);
/drivers/gpu/drm/exynos/
Dexynos_drm_dmabuf.c66 struct exynos_drm_gem_obj *gem_obj = attach->dmabuf->priv; in exynos_gem_map_dma_buf() local
67 struct drm_device *dev = gem_obj->base.dev; in exynos_gem_map_dma_buf()
80 buf = gem_obj->buffer; in exynos_gem_map_dma_buf()
Dexynos_drm_gem.h142 void exynos_drm_gem_free_object(struct drm_gem_object *gem_obj);
/drivers/gpu/drm/i915/
Di915_gem_dmabuf.c226 struct drm_gem_object *gem_obj, int flags) in i915_gem_prime_export() argument
228 struct drm_i915_gem_object *obj = to_intel_bo(gem_obj); in i915_gem_prime_export()
Di915_drv.h1698 struct drm_gem_object *gem_obj, int flags);
Di915_gem.c3802 void i915_gem_free_object(struct drm_gem_object *gem_obj) in i915_gem_free_object() argument
3804 struct drm_i915_gem_object *obj = to_intel_bo(gem_obj); in i915_gem_free_object()