Searched refs:gbo (Results 1 – 5 of 5) sorted by relevance
109 static void drm_gem_vram_cleanup(struct drm_gem_vram_object *gbo) in drm_gem_vram_cleanup() argument116 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() argument124 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() local132 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 …]
95 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,
44 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach() local45 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() local75 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 …]
110 struct drm_gem_vram_object *gbo; in hibmc_plane_atomic_update() local115 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()
182 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_crtc_set_base_and_mode() local196 vbox_crtc->fb_offset = drm_gem_vram_offset(gbo); in vbox_crtc_set_base_and_mode()