diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-25 15:01:58 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-10 16:11:59 -0400 |
commit | 96f6128cbb1cf020e5b4c53656fd6b2f588727d9 (patch) | |
tree | 05dbbf17ebfcf6c67cba58c0d1a9e66b929e3f3c | |
parent | 9cd86933fe250fd3e698b62505dfe2d43326baaa (diff) |
drm/i915: Document that the pll->mode_set hook is optional
The WRPLLs won't use them.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 3d8783831e85..26982d12039f 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -206,6 +206,8 @@ struct intel_shared_dpll { | |||
206 | /* should match the index in the dev_priv->shared_dplls array */ | 206 | /* should match the index in the dev_priv->shared_dplls array */ |
207 | enum intel_dpll_id id; | 207 | enum intel_dpll_id id; |
208 | struct intel_dpll_hw_state hw_state; | 208 | struct intel_dpll_hw_state hw_state; |
209 | /* The mode_set hook is optional and should be used together with the | ||
210 | * intel_prepare_shared_dpll function. */ | ||
209 | void (*mode_set)(struct drm_i915_private *dev_priv, | 211 | void (*mode_set)(struct drm_i915_private *dev_priv, |
210 | struct intel_shared_dpll *pll); | 212 | struct intel_shared_dpll *pll); |
211 | void (*enable)(struct drm_i915_private *dev_priv, | 213 | void (*enable)(struct drm_i915_private *dev_priv, |