Skip to content

Commit 270e3cc

Browse files
mlankhorstjnikula
authored andcommitted
drm/i915: Fix docbook descriptions for i915_gem_shrinker
Fixes the following htmldocs warning: drivers/gpu/drm/i915/gem/i915_gem_shrinker.c:102: warning: Function parameter or member 'ww' not described in 'i915_gem_shrink' Fixes: cf41a8f ("drm/i915: Finally remove obj->mm.lock.") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> (cherry picked from commit 772f7bb) Signed-off-by: Jani Nikula <[email protected]>
1 parent 63b6c7b commit 270e3cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/gem/i915_gem_shrinker.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ static void try_to_writeback(struct drm_i915_gem_object *obj,
7070

7171
/**
7272
* i915_gem_shrink - Shrink buffer object caches
73+
* @ww: i915 gem ww acquire ctx, or NULL
7374
* @i915: i915 device
7475
* @target: amount of memory to make available, in pages
7576
* @nr_scanned: optional output for number of pages scanned (incremental)

0 commit comments

Comments
 (0)