/** * struct i915_ttm_buddy_resource * * @base: struct ttm_resource base class we extend * @blocks: the list of struct i915_buddy_block for this resource/allocation * @flags: DRM_BUDDY_*_ALLOCATION flags * @used_visible_size: How much of this resource, if any, uses the CPU visible * portion, in pages. * @mm: the struct i915_buddy_mm for this resource * * Extends the struct ttm_resource to manage an address space allocation with * one or more struct i915_buddy_block.
*/ struct i915_ttm_buddy_resource { struct ttm_resource base; struct list_head blocks; unsignedlong flags; unsignedlong used_visible_size; struct drm_buddy *mm;
};
/** * to_ttm_buddy_resource * * @res: the resource to upcast * * Upcast the struct ttm_resource object into a struct i915_ttm_buddy_resource.
*/ staticinlinestruct i915_ttm_buddy_resource *
to_ttm_buddy_resource(struct ttm_resource *res)
{ return container_of(res, struct i915_ttm_buddy_resource, base);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.