diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-12 19:45:59 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-12 23:37:27 +0300 |
commit | a4dbf7cf17a537c0788819bfe575b2067f0310bc (patch) | |
tree | e6c02c4aeef4009813f7329471309055a9068fb6 /drivers | |
parent | 21976853fcb0bb8a507264a0cf2f44db29ecca82 (diff) | |
download | linux-a4dbf7cf17a537c0788819bfe575b2067f0310bc.tar.xz |
drm/i915: Fix up kerneldoc parameters for i915_gem_gtt_*()
Parameter: good.
Parameter - bad.
One day I'll learn the syntax.
Fixes: 625d988acc28 ("drm/i915: Extract reserving space in the GTT to a helper")
Fixes: e007b19d7ba7 ("drm/i915: Use the MRU stack search after evicting")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170112164559.27232-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index ed120a1e7f93..6d2ff20ec973 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -3579,16 +3579,16 @@ i915_get_ggtt_vma_pages(struct i915_vma *vma) /** * i915_gem_gtt_reserve - reserve a node in an address_space (GTT) - * @vm - the &struct i915_address_space - * @node - the &struct drm_mm_node (typically i915_vma.mode) - * @size - how much space to allocate inside the GTT, - * must be #I915_GTT_PAGE_SIZE aligned - * @offset - where to insert inside the GTT, - * must be #I915_GTT_MIN_ALIGNMENT aligned, and the node - * (@offset + @size) must fit within the address space - * @color - color to apply to node, if this node is not from a VMA, - * color must be #I915_COLOR_UNEVICTABLE - * @flags - control search and eviction behaviour + * @vm: the &struct i915_address_space + * @node: the &struct drm_mm_node (typically i915_vma.mode) + * @size: how much space to allocate inside the GTT, + * must be #I915_GTT_PAGE_SIZE aligned + * @offset: where to insert inside the GTT, + * must be #I915_GTT_MIN_ALIGNMENT aligned, and the node + * (@offset + @size) must fit within the address space + * @color: color to apply to node, if this node is not from a VMA, + * color must be #I915_COLOR_UNEVICTABLE + * @flags: control search and eviction behaviour * * i915_gem_gtt_reserve() tries to insert the @node at the exact @offset inside * the address space (using @size and @color). If the @node does not fit, it @@ -3656,19 +3656,19 @@ static u64 random_offset(u64 start, u64 end, u64 len, u64 align) /** * i915_gem_gtt_insert - insert a node into an address_space (GTT) - * @vm - the &struct i915_address_space - * @node - the &struct drm_mm_node (typically i915_vma.node) - * @size - how much space to allocate inside the GTT, + * @vm: the &struct i915_address_space + * @node: the &struct drm_mm_node (typically i915_vma.node) + * @size: how much space to allocate inside the GTT, + * must be #I915_GTT_PAGE_SIZE aligned + * @alignment: required alignment of starting offset, may be 0 but + * if specified, this must be a power-of-two and at least + * #I915_GTT_MIN_ALIGNMENT + * @color: color to apply to node + * @start: start of any range restriction inside GTT (0 for all), * must be #I915_GTT_PAGE_SIZE aligned - * @alignment - required alignment of starting offset, may be 0 but - * if specified, this must be a power-of-two and at least - * #I915_GTT_MIN_ALIGNMENT - * @color - color to apply to node - * @start - start of any range restriction inside GTT (0 for all), - * must be #I915_GTT_PAGE_SIZE aligned - * @end - end of any range restriction inside GTT (U64_MAX for all), - * must be #I915_GTT_PAGE_SIZE aligned if not U64_MAX - * @flags - control search and eviction behaviour + * @end: end of any range restriction inside GTT (U64_MAX for all), + * must be #I915_GTT_PAGE_SIZE aligned if not U64_MAX + * @flags: control search and eviction behaviour * * i915_gem_gtt_insert() first searches for an available hole into which * is can insert the node. The hole address is aligned to @alignment and |