]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/i915: fix documentation build warnings
authorJani Nikula <jani.nikula@intel.com>
Wed, 5 Jun 2019 09:56:57 +0000 (12:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Jun 2019 08:13:20 +0000 (11:13 +0300)
Just a straightforward bag of fixes for a clean htmldocs build.

Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605095657.23601-2-jani.nikula@intel.com
Documentation/gpu/i915.rst
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_vma.h
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_runtime_pm.c

index f98ee95da90fbff0665b9c1d429947e4c450f427..300220c4b49821a52ba7727e6fc11767589911ee 100644 (file)
@@ -475,12 +475,6 @@ i915_context_create and i915_context_free
 .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h
    :doc: i915_context_create and i915_context_free tracepoints
 
-switch_mm
----------
-
-.. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h
-   :doc: switch_mm tracepoint
-
 Perf
 ====
 
index 07e3f861a92eda7d3ea9285359dd6ea6b0024c5f..b7c13d5deb15132cfe2c6e4a2a6e1103e98781bd 100644 (file)
  * REG_FIELD_PREP() - Prepare a u32 bitfield value
  * @__mask: shifted mask defining the field's length and position
  * @__val: value to put in the field
-
+ *
  * Local copy of FIELD_PREP() to generate an integer constant expression, force
  * u32 and for consistency with REG_FIELD_GET(), REG_BIT() and REG_GENMASK().
  *
index 2657c99fe1872146aa853cb7609ef9e27d72a51d..bc15083bd479bfdba6d8da25d47aef5663648212 100644 (file)
@@ -40,6 +40,8 @@
 enum i915_cache_level;
 
 /**
+ * DOC: Virtual Memory Address
+ *
  * A VMA represents a GEM BO that is bound into an address space. Therefore, a
  * VMA's presence cannot be guaranteed before binding, or after unbinding the
  * object into/from the address space.
index 3d1de288d96c77e2ddedfbef611dfa7eb468b573..f55f3bc8524d5c7abe4f583c1e3963c841a85128 100644 (file)
@@ -500,6 +500,8 @@ enum guc_log_buffer_type {
 };
 
 /**
+ * struct guc_log_buffer_state - GuC log buffer state
+ *
  * Below state structure is used for coordination of retrieval of GuC firmware
  * logs. Separate state is maintained for each log buffer type.
  * read_ptr points to the location where i915 read last in log buffer and
index 3bdeea596ad57cb2f9a4595f5528a01951c56033..af3c1ada1b2ea424fd27fafd7822817e7a9a8b3c 100644 (file)
@@ -391,8 +391,6 @@ static intel_wakeref_t __intel_runtime_pm_get(struct drm_i915_private *i915,
  * asynchronous PM management from display code) and ensures that it is powered
  * up. Raw references are not considered during wakelock assert checks.
  *
- * Returns:
- * True when the power domain is enabled, false otherwise.
  * Any runtime pm reference obtained by this function must have a symmetric
  * call to intel_runtime_pm_put_raw() to release the reference again.
  *