Searched refs:gbo (Results 1 – 7 of 7) 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->kmap_use_count); in drm_gem_vram_cleanup()117 WARN_ON(gbo->kmap.virtual); 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 …]
38 struct drm_gem_vram_object *gbo; in ast_cursor_fini() local40 for (i = 0; i < ARRAY_SIZE(ast->cursor.gbo); ++i) { in ast_cursor_fini()41 gbo = ast->cursor.gbo[i]; in ast_cursor_fini()42 drm_gem_vram_vunmap(gbo, ast->cursor.vaddr[i]); in ast_cursor_fini()43 drm_gem_vram_unpin(gbo); in ast_cursor_fini()44 drm_gem_vram_put(gbo); in ast_cursor_fini()62 struct drm_gem_vram_object *gbo; in ast_cursor_init() local68 for (i = 0; i < ARRAY_SIZE(ast->cursor.gbo); ++i) { in ast_cursor_init()69 gbo = drm_gem_vram_create(dev, size, 0); in ast_cursor_init()70 if (IS_ERR(gbo)) { in ast_cursor_init()[all …]
134 struct drm_gem_vram_object *gbo[AST_DEFAULT_HWC_NUM]; member
573 struct drm_gem_vram_object *gbo; in ast_primary_plane_helper_atomic_update() local587 gbo = drm_gem_vram_of_gem(fb->obj[0]); in ast_primary_plane_helper_atomic_update()588 gpu_addr = drm_gem_vram_offset(gbo); in ast_primary_plane_helper_atomic_update()
31 struct drm_gem_vram_object *gbo; in bochs_plane_update() local37 gbo = drm_gem_vram_of_gem(state->fb->obj[0]); in bochs_plane_update()38 gpu_addr = drm_gem_vram_offset(gbo); in bochs_plane_update()
176 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_crtc_set_base_and_mode() local190 vbox_crtc->fb_offset = drm_gem_vram_offset(gbo); in vbox_crtc_set_base_and_mode()382 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_cursor_atomic_update() local400 src = drm_gem_vram_vmap(gbo); in vbox_cursor_atomic_update()419 drm_gem_vram_vunmap(gbo, src); in vbox_cursor_atomic_update()
109 struct drm_gem_vram_object *gbo; in hibmc_plane_atomic_update() local114 gbo = drm_gem_vram_of_gem(state->fb->obj[0]); in hibmc_plane_atomic_update()116 gpu_addr = drm_gem_vram_offset(gbo); in hibmc_plane_atomic_update()