Lines Matching refs:global_ref
59 struct drm_global_reference *global_ref;
62 global_ref = &dev_priv->ttm.mem_global_ref;
63 global_ref->global_type = DRM_GLOBAL_TTM_MEM;
64 global_ref->size = sizeof(struct ttm_mem_global);
65 global_ref->init = &nouveau_ttm_mem_global_init;
66 global_ref->release = &nouveau_ttm_mem_global_release;
68 ret = drm_global_item_ref(global_ref);
75 dev_priv->ttm.bo_global_ref.mem_glob = global_ref->object;
76 global_ref = &dev_priv->ttm.bo_global_ref.ref;
77 global_ref->global_type = DRM_GLOBAL_TTM_BO;
78 global_ref->size = sizeof(struct ttm_bo_global);
79 global_ref->init = &ttm_bo_global_init;
80 global_ref->release = &ttm_bo_global_release;
82 ret = drm_global_item_ref(global_ref);