Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_gem_vram_helper.c112 static void drm_gem_vram_cleanup(struct drm_gem_vram_object *gbo) in drm_gem_vram_cleanup() argument
119 WARN_ON(gbo->vmap_use_count); in drm_gem_vram_cleanup()
120 WARN_ON(iosys_map_is_set(&gbo->map)); in drm_gem_vram_cleanup()
122 drm_gem_object_release(&gbo->bo.base); in drm_gem_vram_cleanup()
125 static void drm_gem_vram_destroy(struct drm_gem_vram_object *gbo) in drm_gem_vram_destroy() argument
127 drm_gem_vram_cleanup(gbo); in drm_gem_vram_destroy()
128 kfree(gbo); in drm_gem_vram_destroy()
133 struct drm_gem_vram_object *gbo = drm_gem_vram_of_bo(bo); in ttm_buffer_object_destroy() local
135 drm_gem_vram_destroy(gbo); in ttm_buffer_object_destroy()
138 static void drm_gem_vram_placement(struct drm_gem_vram_object *gbo, in drm_gem_vram_placement() argument
[all …]
/drivers/gpu/drm/ast/
Dast_mode.c592 struct drm_gem_vram_object *gbo; in ast_primary_plane_helper_atomic_update() local
606 gbo = drm_gem_vram_of_gem(fb->obj[0]); in ast_primary_plane_helper_atomic_update()
607 gpu_addr = drm_gem_vram_offset(gbo); in ast_primary_plane_helper_atomic_update()
898 struct drm_gem_vram_object *gbo; in ast_cursor_plane_destroy() local
902 gbo = ast_cursor_plane->hwc[i].gbo; in ast_cursor_plane_destroy()
904 drm_gem_vram_vunmap(gbo, &map); in ast_cursor_plane_destroy()
905 drm_gem_vram_unpin(gbo); in ast_cursor_plane_destroy()
906 drm_gem_vram_put(gbo); in ast_cursor_plane_destroy()
925 struct drm_gem_vram_object *gbo; in ast_cursor_plane_init() local
938 gbo = drm_gem_vram_create(dev, size, 0); in ast_cursor_plane_init()
[all …]
Dast_drv.h114 struct drm_gem_vram_object *gbo; member
/drivers/gpu/drm/hisilicon/hibmc/
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()
/drivers/gpu/drm/tiny/
Dbochs.c420 struct drm_gem_vram_object *gbo; in bochs_plane_update() local
426 gbo = drm_gem_vram_of_gem(state->fb->obj[0]); in bochs_plane_update()
427 gpu_addr = drm_gem_vram_offset(gbo); in bochs_plane_update()
/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c181 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(fb->obj[0]); in vbox_crtc_set_base_and_mode() local
195 vbox_crtc->fb_offset = drm_gem_vram_offset(gbo); in vbox_crtc_set_base_and_mode()