[Intel-gfx] [PATCH] drm/i915/perf: Fix warning in documentation
Chris Wilson
chris at chris-wilson.co.uk
Wed Oct 24 12:49:32 UTC 2018
Quoting Lionel Landwerlin (2018-10-24 11:51:58)
> Forgot to add the description of this option in a previous commit.
>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Fixes: cd956bfcd0f58d ("drm/i915/perf: add a parameter to control the size of OA buffer")
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_perf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
> index 279432b1f0b6..fa295f05099c 100644
> --- a/drivers/gpu/drm/i915/i915_perf.c
> +++ b/drivers/gpu/drm/i915/i915_perf.c
> @@ -343,6 +343,7 @@ static const struct i915_oa_format gen8_plus_oa_formats[I915_OA_FORMAT_MAX] = {
> * @oa_format: An OA unit HW report format
> * @oa_periodic: Whether to enable periodic OA unit sampling
> * @oa_period_exponent: The OA unit sampling period is derived from this
> + * @oa_buffer_size_exponent: The OA buffer size is derived from this
For future, the preference is for inline kerneldoc for the members.
Tighter coupling of doc to code/struct, and a bit more obvious when
adding.
-Chris
More information about the Intel-gfx
mailing list