public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v5 1/4] drm/i915: Add audio sync_audio_rate callback
@ 2015-08-18  6:51 libin.yang
  2015-08-18  6:51 ` [PATCH v5 2/4] drm/i915: implement " libin.yang
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: libin.yang @ 2015-08-18  6:51 UTC (permalink / raw)
  To: alsa-devel, tiwai, intel-gfx, daniel.vetter, jani.nikula

From: Libin Yang <libin.yang@intel.com>

Add the sync_audio_rate callback.

With the callback, audio driver can trigger
i915 driver to set the proper N/CTS or N/M
based on different sample rates.

Signed-off-by: Libin Yang <libin.yang@intel.com>
---
 include/drm/i915_component.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h
index c9a8b64..aabebcb 100644
--- a/include/drm/i915_component.h
+++ b/include/drm/i915_component.h
@@ -33,6 +33,7 @@ struct i915_audio_component {
 		void (*put_power)(struct device *);
 		void (*codec_wake_override)(struct device *, bool enable);
 		int (*get_cdclk_freq)(struct device *);
+		int (*sync_audio_rate)(struct device *, int port, int rate);
 	} *ops;
 };
 
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-08-27  2:07 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18  6:51 [PATCH v5 1/4] drm/i915: Add audio sync_audio_rate callback libin.yang
2015-08-18  6:51 ` [PATCH v5 2/4] drm/i915: implement " libin.yang
2015-08-21 15:14   ` Ville Syrjälä
2015-08-24  2:38     ` Yang, Libin
2015-08-24 12:53       ` Ville Syrjälä
2015-08-24 12:58         ` Takashi Iwai
2015-08-24 15:35         ` Yang, Libin
2015-08-24 16:27           ` Ville Syrjälä
2015-08-25  1:48             ` Yang, Libin
2015-08-26 12:27               ` Ville Syrjälä
2015-08-27  2:06                 ` Yang, Libin
2015-08-18  6:51 ` [PATCH v5 3/4] ALSA: hda - display audio call " libin.yang
2015-08-18  6:51 ` [PATCH v5 4/4] drm/i915: set proper N/CTS in modeset libin.yang
2015-08-21 15:26   ` Ville Syrjälä
2015-08-24  1:53     ` Yang, Libin
2015-08-26  8:17 ` [PATCH v5 1/4] drm/i915: Add audio sync_audio_rate callback Daniel Vetter
2015-08-26  8:29   ` Yang, Libin
2015-08-26  9:08     ` Daniel Vetter
2015-08-26 11:08       ` Yang, Libin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox