Lines Matching defs:vbo
124 void *vmw_bo_map_and_cache(struct vmw_bo *vbo);
125 void vmw_bo_unmap(struct vmw_bo *vbo);
137 * @vbo: The struct vmw_bo
139 static inline void vmw_bo_prio_adjust(struct vmw_bo *vbo)
141 int i = ARRAY_SIZE(vbo->res_prios);
144 if (vbo->res_prios[i]) {
145 vbo->tbo.priority = i;
150 vbo->tbo.priority = 3;
156 * @vbo: The struct vmw_bo
162 static inline void vmw_bo_prio_add(struct vmw_bo *vbo, int prio)
164 if (vbo->res_prios[prio]++ == 0)
165 vmw_bo_prio_adjust(vbo);
171 * @vbo: The struct vmw_bo
177 static inline void vmw_bo_prio_del(struct vmw_bo *vbo, int prio)
179 if (--vbo->res_prios[prio] == 0)
180 vmw_bo_prio_adjust(vbo);
198 static inline struct vmw_bo *vmw_user_bo_ref(struct vmw_bo *vbo)
200 drm_gem_object_get(&vbo->tbo.base);
201 return vbo;