Home
last modified time | relevance | path

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

/drivers/gpu/drm/
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->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() 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 …]
/drivers/gpu/drm/ast/
Dast_cursor.c38 struct drm_gem_vram_object *gbo; in ast_cursor_fini() local
40 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() local
68 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 …]
Dast_drv.h134 struct drm_gem_vram_object *gbo[AST_DEFAULT_HWC_NUM]; member
Dast_mode.c573 struct drm_gem_vram_object *gbo; in ast_primary_plane_helper_atomic_update() local
587 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()
/drivers/gpu/drm/bochs/
Dbochs_kms.c31 struct drm_gem_vram_object *gbo; in bochs_plane_update() local
37 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()
/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c176 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_crtc_set_base_and_mode() local
190 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() local
400 src = drm_gem_vram_vmap(gbo); in vbox_cursor_atomic_update()
419 drm_gem_vram_vunmap(gbo, src); in vbox_cursor_atomic_update()
/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c109 struct drm_gem_vram_object *gbo; in hibmc_plane_atomic_update() local
114 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()