Lines Matching refs:global_ref
60 struct drm_global_reference *global_ref;
63 global_ref = &dev_priv->mem_global_ref;
64 global_ref->global_type = DRM_GLOBAL_TTM_MEM;
65 global_ref->size = sizeof(struct ttm_mem_global);
66 global_ref->init = &vmw_ttm_mem_global_init;
67 global_ref->release = &vmw_ttm_mem_global_release;
69 ret = drm_global_item_ref(global_ref);
77 global_ref = &dev_priv->bo_global_ref.ref;
78 global_ref->global_type = DRM_GLOBAL_TTM_BO;
79 global_ref->size = sizeof(struct ttm_bo_global);
80 global_ref->init = &ttm_bo_global_init;
81 global_ref->release = &ttm_bo_global_release;
82 ret = drm_global_item_ref(global_ref);