Lines Matching refs:gbo
175 struct drm_gem_vram_object *gbo = 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()
306 struct drm_gem_vram_object *gbo; in vbox_primary_prepare_fb() local
312 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj); in vbox_primary_prepare_fb()
313 ret = drm_gem_vram_pin(gbo, DRM_GEM_VRAM_PL_FLAG_VRAM); in vbox_primary_prepare_fb()
323 struct drm_gem_vram_object *gbo; in vbox_primary_cleanup_fb() local
328 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(old_state->fb)->obj); in vbox_primary_cleanup_fb()
329 drm_gem_vram_unpin(gbo); in vbox_primary_cleanup_fb()
389 struct drm_gem_vram_object *gbo = in vbox_cursor_atomic_update() local
409 src = drm_gem_vram_kmap(gbo, true, NULL); in vbox_cursor_atomic_update()
425 drm_gem_vram_kunmap(gbo); in vbox_cursor_atomic_update()
465 struct drm_gem_vram_object *gbo; in vbox_cursor_prepare_fb() local
470 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj); in vbox_cursor_prepare_fb()
471 return drm_gem_vram_pin(gbo, DRM_GEM_VRAM_PL_FLAG_SYSTEM); in vbox_cursor_prepare_fb()
477 struct drm_gem_vram_object *gbo; in vbox_cursor_cleanup_fb() local
482 gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(plane->state->fb)->obj); in vbox_cursor_cleanup_fb()
483 drm_gem_vram_unpin(gbo); in vbox_cursor_cleanup_fb()