diff options
author | Imre Deak <imre.deak@intel.com> | 2020-03-04 17:09:18 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2020-03-09 12:37:23 +0200 |
commit | 8051d1ece440cd0a052ed1cf217893c934674cff (patch) | |
tree | c6860dd0c629b9f530208449c08393d56ada39f7 /drivers/gpu/drm/i915/display/intel_dpll_mgr.c | |
parent | drm/i915/gt: Wait for the wa batch to be pinned (diff) | |
download | linux-dev-8051d1ece440cd0a052ed1cf217893c934674cff.tar.xz linux-dev-8051d1ece440cd0a052ed1cf217893c934674cff.zip |
drm/i915: Fix documentation for intel_dpll_get_freq()
Fix the following kerneldoc warning and while at it also the doc for the
corresponding vfunc hook.
$ make htmldocs 2>&1 > /dev/null | grep i915
./drivers/gpu/drm/i915/display/intel_dpll_mgr.h:285: warning: Function parameter or member 'get_freq' not described in 'intel_shared_dpll_funcs'
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304150918.25473-1-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dpll_mgr.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c index 76d14486b3a5..2d47f1f756a2 100644 --- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c +++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c @@ -4408,6 +4408,13 @@ void intel_update_active_dpll(struct intel_atomic_state *state, dpll_mgr->update_active_dpll(state, crtc, encoder); } +/** + * intel_dpll_get_freq - calculate the DPLL's output frequency + * @i915: i915 device + * @pll: DPLL for which to calculate the output frequency + * + * Return the output frequency corresponding to @pll's current state. + */ int intel_dpll_get_freq(struct drm_i915_private *i915, const struct intel_shared_dpll *pll) { |