From: libin.yang@intel.com
To: alsa-devel@alsa-project.org, tiwai@suse.de,
intel-gfx@lists.freedesktop.org
Subject: [PATCH 1/4] drm/i915: Add audio set_ncts callback
Date: Thu, 6 Aug 2015 14:52:54 +0800 [thread overview]
Message-ID: <1438843977-4269-1-git-send-email-libin.yang@intel.com> (raw)
From: Libin Yang <libin.yang@intel.com>
Add the set_ncts callback.
With the callback, audio driver can trigger
i915 driver to set the proper N/CTS
based on different sample rates.
Signed-off-by: Libin Yang <libin.yang@intel.com>
---
include/drm/i915_component.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h
index c9a8b64..7305881 100644
--- a/include/drm/i915_component.h
+++ b/include/drm/i915_component.h
@@ -33,6 +33,8 @@ struct i915_audio_component {
void (*put_power)(struct device *);
void (*codec_wake_override)(struct device *, bool enable);
int (*get_cdclk_freq)(struct device *);
+ int (*set_ncts)(struct device *, int port, int dev_entry,
+ int rate);
} *ops;
};
--
1.9.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2015-08-06 7:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-06 6:52 libin.yang [this message]
2015-08-06 6:52 ` [PATCH 2/4] drm/i915: implement set_ncts callback libin.yang
2015-08-06 9:21 ` [alsa-devel] " Takashi Iwai
2015-08-07 1:50 ` Yang, Libin
2015-08-06 6:52 ` [PATCH 3/4] ALSA: hda - display audio call ncts callback libin.yang
2015-08-06 10:02 ` Takashi Iwai
2015-08-07 1:42 ` Yang, Libin
2015-08-07 3:04 ` [alsa-devel] " Raymond Yau
2015-08-10 3:15 ` Yang, Libin
2015-08-10 4:23 ` Raymond Yau
2015-08-11 2:30 ` Yang, Libin
2015-08-06 6:52 ` [PATCH 4/4] drm/i915: set proper N/CTS in modeset libin.yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438843977-4269-1-git-send-email-libin.yang@intel.com \
--to=libin.yang@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox