[Intel-gfx] [PATCH] drm/i915/perf: Annotate i915_perf.wakeref for keneldoc

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 15 10:25:05 UTC 2019


drivers/gpu/drm/i915/i915_drv.h:1375: warning: Function parameter or member 'wakeref' not described in 'i915_perf_stream'

Reported-by: kbuild-all at 01.org
Fixes: 6619c0075f78 ("drm/i915/perf: Track the rpm wakeref")
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index fa99824f63b3..956c1c86f90d 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1336,6 +1336,10 @@ struct i915_perf_stream {
 	 */
 	struct list_head link;
 
+	/**
+	 * @wakeref: As we keep the device awake while the perf stream is
+	 * active, we track our runtime pm reference for later release.
+	 */
 	intel_wakeref_t wakeref;
 
 	/**
-- 
2.20.1



More information about the Intel-gfx mailing list