diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-04-21 14:09:38 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-04-26 11:54:33 +0300 |
commit | 270e3cc5aa382f63ea20b93c3d20162a891dc638 (patch) | |
tree | b4feb36610d962368cb280d63724438fd8756838 /drivers/gpu | |
parent | 63b6c7be3e1f78a2d7e24ea3dde1333ffcc9b2a4 (diff) | |
download | linux-stable-270e3cc5aa382f63ea20b93c3d20162a891dc638.tar.gz linux-stable-270e3cc5aa382f63ea20b93c3d20162a891dc638.tar.bz2 linux-stable-270e3cc5aa382f63ea20b93c3d20162a891dc638.zip |
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: 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>
(cherry picked from commit 772f7bb75dffd4ec90eaf411f9e09dc2429f5c81)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_shrinker.c b/drivers/gpu/drm/i915/gem/i915_gem_shrinker.c index 3e248d3bd869..4f9c8d3021ab 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_shrinker.c @@ -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) |