From: Jani Nikula <jani.nikula@intel.com>
To: "Lin, Mengdong" <mengdong.lin@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"tiwai@suse.de" <tiwai@suse.de>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH v2 1/2] drm/i915: provide interface for audio driver to query cdclk
Date: Thu, 03 Jul 2014 13:20:19 +0300 [thread overview]
Message-ID: <874myyeobg.fsf@intel.com> (raw)
In-Reply-To: <F46914AEC2663F4A9BB62374E5EEF8F82B590623@SHSMSX101.ccr.corp.intel.com>
On Thu, 03 Jul 2014, "Lin, Mengdong" <mengdong.lin@intel.com> wrote:
> Hi Jani,
>
>> -----Original Message-----
>> From: Nikula, Jani
>> Sent: Thursday, July 03, 2014 3:33 PM
>
>> I wrote this as a quick hack patch to try as an alternative to [1] which
>> ended up not working on Haswell. Please reassure me that this is going to
>> be a temporary solution until we get a more generic interface between the
>> audio and display drivers. I don't much like this, but at least it's isolated
>> and small.
>
> Sure. We'll clean up code when the generic interface is ready.
> This is only a temporary solution, safer than the BIOS notifications.
Thanks.
> And would you like to further revise this patch?
> But please keep this API not changed at the moment since the audio
> driver already queries the symbol name.
Please just take over the patch, and amend the commit message along the
lines of what I proposed. I think it's easiest if it gets merged through
the alsa tree - you have a dependency on it and your changes are much
bigger. The i915 changes are isolated and not expected to conflict.
But as I said, I'd like a Reviewed-by from another i915 developer
first. I don't like to push/ack my own patches without review from
others, no matter how small the patches.
Thanks,
Jani.
>
> Thanks
> Mengdong
>
>> I'd like the commit message amended with something like:
>>
>> """
>> If the display power well has been disabled, the display audio controller
>> divider values EM4 MVALUE and EM5 NVALUE will have been lost. The
>> CDCLK frequency is required for reprogramming them. Provide a private
>> interface for the audio driver to query CDCLK.
>>
>> This is a stopgap solution until a more generic interface between audio
>> and display drivers has been implemented.
>> """
>>
>> I'd also like to have an additional Reviewed-by from the i915 side. After
>> that, I'm fine with merging this through alsa.
--
Jani Nikula, Intel Open Source Technology Center
next prev parent reply other threads:[~2014-07-03 10:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 5:00 [PATCH v2 1/2] drm/i915: provide interface for audio driver to query cdclk mengdong.lin
2014-07-03 7:32 ` Jani Nikula
2014-07-03 9:41 ` Lin, Mengdong
2014-07-03 10:20 ` Jani Nikula [this message]
2014-07-03 11:18 ` Damien Lespiau
2014-07-03 15:14 ` Lin, Mengdong
2014-07-04 2:00 ` [PATCH v3 " mengdong.lin
2014-07-04 6:00 ` Takashi Iwai
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=874myyeobg.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mengdong.lin@intel.com \
--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