]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Fix docbook descriptions for i915_gem_shrinker
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 21 Apr 2021 12:09:38 +0000 (14:09 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 23 Apr 2021 10:40:10 +0000 (12:40 +0200)
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: cf41a8f1dc1e ("drm/i915: Finally remove obj->mm.lock.")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421120938.546076-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c

index 3e248d3bd869b4ef8decd4ede84f6bcba6a447b5..4f9c8d3021ab3963046c7933e4c1a99a5089c499 100644 (file)
@@ -70,6 +70,7 @@ static void try_to_writeback(struct drm_i915_gem_object *obj,
 
 /**
  * i915_gem_shrink - Shrink buffer object caches
+ * @ww: i915 gem ww acquire ctx, or NULL
  * @i915: i915 device
  * @target: amount of memory to make available, in pages
  * @nr_scanned: optional output for number of pages scanned (incremental)