summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorLibin Yang2015-10-01 11:01:09 +0200
committerDaniel Vetter2015-10-07 16:05:38 +0200
commitcb422619976f3f1b71f68f0c1b5a764e9f90fb0c (patch)
tree2166d84f52793c62b4c9af9848b3177a304290c9 /drivers/gpu
parentdrm/i915: add kerneldoc for i915_audio_component (diff)
downloadkernel-qcow2-linux-cb422619976f3f1b71f68f0c1b5a764e9f90fb0c.tar.gz
kernel-qcow2-linux-cb422619976f3f1b71f68f0c1b5a764e9f90fb0c.tar.xz
kernel-qcow2-linux-cb422619976f3f1b71f68f0c1b5a764e9f90fb0c.zip
drm/i915: DocBook add i915_component.h support
Add the item of i915_component.h in DocBook and add the DOC for i915_component.h. Explain the struct i915_audio_component_ops and struct i915_audio_component_audio_ops usage. Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_audio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c
index 72d696b0e7d4..56c2f54801c4 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -50,6 +50,11 @@
* co-operation between the graphics and audio drivers is handled via audio
* related registers. (The notable exception is the power management, not
* covered here.)
+ *
+ * The struct i915_audio_component is used to interact between the graphics
+ * and audio drivers. The struct i915_audio_component_ops *ops in it is
+ * defined in graphics driver and called in audio driver. The
+ * struct i915_audio_component_audio_ops *audio_ops is called from i915 driver.
*/
static const struct {