Home
last modified time | relevance | path

Searched refs:gbo (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_gem_vram_helper.c109 static void drm_gem_vram_cleanup(struct drm_gem_vram_object *gbo) in drm_gem_vram_cleanup() argument
116 WARN_ON(gbo->vmap_use_count); in drm_gem_vram_cleanup()
117 WARN_ON(iosys_map_is_set(&gbo->map)); in drm_gem_vram_cleanup()
119 drm_gem_object_release(&gbo->bo.base); in drm_gem_vram_cleanup()
122 static void drm_gem_vram_destroy(struct drm_gem_vram_object *gbo) in drm_gem_vram_destroy() argument
124 drm_gem_vram_cleanup(gbo); in drm_gem_vram_destroy()
125 kfree(gbo); in drm_gem_vram_destroy()
130 struct drm_gem_vram_object *gbo = drm_gem_vram_of_bo(bo); in ttm_buffer_object_destroy() local
132 drm_gem_vram_destroy(gbo); in ttm_buffer_object_destroy()
135 static void drm_gem_vram_placement(struct drm_gem_vram_object *gbo, in drm_gem_vram_placement() argument
[all …]
/linux/include/drm/
H A Ddrm_gem_vram_helper.h95 void drm_gem_vram_put(struct drm_gem_vram_object *gbo);
96 s64 drm_gem_vram_offset(struct drm_gem_vram_object *gbo);
97 int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct iosys_map *map);
98 void drm_gem_vram_vunmap(struct drm_gem_vram_object *gbo,
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c44 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach() local
45 struct rb_node **new = &gbo->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach()
47 dma_resv_assert_held(gbo->tbo.base.resv); in vmw_resource_mob_attach()
61 rb_insert_color(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_attach()
62 vmw_bo_del_detached_resource(gbo, res); in vmw_resource_mob_attach()
64 vmw_bo_prio_add(gbo, res->used_prio); in vmw_resource_mob_attach()
73 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_detach() local
75 dma_resv_assert_held(gbo->tbo.base.resv); in vmw_resource_mob_detach()
77 rb_erase(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_detach()
79 vmw_bo_prio_del(gbo, res->used_prio); in vmw_resource_mob_detach()
[all …]
/linux/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_de.c110 struct drm_gem_vram_object *gbo; in hibmc_plane_atomic_update() local
115 gbo = drm_gem_vram_of_gem(new_state->fb->obj[0]); in hibmc_plane_atomic_update()
117 gpu_addr = drm_gem_vram_offset(gbo); in hibmc_plane_atomic_update()
/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_mode.c182 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_crtc_set_base_and_mode() local
196 vbox_crtc->fb_offset = drm_gem_vram_offset(gbo); in vbox_crtc_set_base_and_mode()