intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/4] drm/i915: Add audio sync_audio_rate callback
@ 2015-08-17 10:39 libin.yang
  2015-08-17 10:39 ` [PATCH v3 2/4] drm/i915: implement " libin.yang
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: libin.yang @ 2015-08-17 10:39 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] 12+ messages in thread

end of thread, other threads:[~2015-08-26  8:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 10:39 [PATCH v3 1/4] drm/i915: Add audio sync_audio_rate callback libin.yang
2015-08-17 10:39 ` [PATCH v3 2/4] drm/i915: implement " libin.yang
2015-08-17 12:20   ` Jani Nikula
2015-08-17 14:40     ` Yang, Libin
2015-08-18  6:53       ` Jani Nikula
2015-08-26  7:53     ` Daniel Vetter
2015-08-26  8:07       ` Yang, Libin
2015-08-26  8:20       ` Jani Nikula
2015-08-17 10:40 ` [PATCH v3 3/4] ALSA: hda - display audio call " libin.yang
2015-08-17 12:26   ` Takashi Iwai
2015-08-17 14:42     ` Yang, Libin
2015-08-17 10:40 ` [PATCH v3 4/4] drm/i915: set proper N/CTS in modeset libin.yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).