Browse Source

drm/i915: Fixup kerneldoc for intel_pm.c

drivers/gpu/drm/i915/intel_pm.c:750: warning: Function parameter or member 'fifo_size' not described in 'intel_calculate_wm'
drivers/gpu/drm/i915/intel_pm.c:5900: warning: Function parameter or member 'crtc' not described in 'intel_update_watermarks'

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214140303.1561-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Chris Wilson 7 years ago
parent
commit
31383410f5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/gpu/drm/i915/intel_pm.c

+ 2 - 0
drivers/gpu/drm/i915/intel_pm.c

@@ -729,6 +729,7 @@ static unsigned int intel_wm_method2(unsigned int pixel_rate,
  * intel_calculate_wm - calculate watermark level
  * intel_calculate_wm - calculate watermark level
  * @pixel_rate: pixel clock
  * @pixel_rate: pixel clock
  * @wm: chip FIFO params
  * @wm: chip FIFO params
+ * @fifo_size: size of the FIFO buffer
  * @cpp: bytes per pixel
  * @cpp: bytes per pixel
  * @latency_ns: memory latency for the platform
  * @latency_ns: memory latency for the platform
  *
  *
@@ -5866,6 +5867,7 @@ void ilk_wm_get_hw_state(struct drm_device *dev)
 
 
 /**
 /**
  * intel_update_watermarks - update FIFO watermark values based on current modes
  * intel_update_watermarks - update FIFO watermark values based on current modes
+ * @crtc: the #intel_crtc on which to compute the WM
  *
  *
  * Calculate watermark values for the various WM regs based on current mode
  * Calculate watermark values for the various WM regs based on current mode
  * and plane configuration.
  * and plane configuration.