All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bard liao <yung-chuan.liao@linux.intel.com>
To: Takashi Iwai <tiwai@suse.de>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org,
	broonie@kernel.org
Subject: Re: [PATCH] ASoC: Intel: hdac_hdmi: add Icelake support
Date: Mon, 12 Nov 2018 21:04:11 +0800	[thread overview]
Message-ID: <ae98c656-07eb-0f4e-57f4-adbb3d751ff9@linux.intel.com> (raw)
In-Reply-To: <s5h5zx3o6um.wl-tiwai@suse.de>

On 11/12/2018 1:35 AM, Takashi Iwai wrote:
> On Sun, 11 Nov 2018 16:10:10 +0100,
> Pierre-Louis Bossart wrote:
>>
>> On 11/11/18 2:55 AM, Takashi Iwai wrote:
>>> On Sat, 10 Nov 2018 22:18:46 +0100,
>>> Bard liao wrote:
>>>> From: Bard liao <bard.liao@intel.com>
>>>>
>>>> Add Icelake device id. Also, Icelake's pin2port mapping table is
>>>> complicated. So we use a mapping table to do the pin2port mapping.
>>>>
>>>> Signed-off-by: Bard liao <bard.liao@intel.com>
>>> The recent code has already pin2port callback in drm_audio_component
>>> ops.  This is called in sound/hda/hdac_component.c before eld notify
>>> callback gets called.  So, use this callback instead of introducing
>>> yet another one.
>> Sorry Takashi, can you elaborate? What this patch does is modify the
>> existing implementation of the .pin2port callback, not add a new
>> one. The existing logic (return pin - 4) is no longer sufficient on
>> IceLake.
> The recent change added the pin2port call in
> drm_audio_component_audio_ops.  You can put the ICL-specific call into
> this if any specific conversion is needed.

hdac_hdmi_pin2port is indeed the pin2port call back function in
drm_audio_component_audio_ops :)
What the patch did is to modify the current pin2port call back
function in drm_audio_component_audio_ops.

>>> Also, it'd be helpful if you fix the same for the legacy HD-audio HDMI
>>> codec driver.
>> Our intention was to revisit differences between legacy and non-legacy
>> in a separate patch if that's all right with you. We've identified
>> missing IDs and other things that should be fixed separately.
> Sure, I don't mean to fix both in a single patch, but just to remind
> you guys not to forget about that code path.
>
>
> thanks,
>
> Takashi
>

  reply	other threads:[~2018-11-12 13:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 21:18 [PATCH] ASoC: Intel: hdac_hdmi: add Icelake support Bard liao
2018-11-11  8:55 ` Takashi Iwai
2018-11-11 15:10   ` Pierre-Louis Bossart
2018-11-11 17:35     ` Takashi Iwai
2018-11-12 13:04       ` Bard liao [this message]
2018-11-12 13:20         ` Takashi Iwai
2018-11-12 14:00       ` Pierre-Louis Bossart
2018-11-14 14:53         ` Takashi Iwai
2018-11-14 16:23           ` Pierre-Louis Bossart
2018-11-14 16:36             ` Takashi Iwai
2018-11-14 16:41               ` Pierre-Louis Bossart
2018-11-14 16:44                 ` Takashi Iwai
2018-11-14 16:55                   ` Pierre-Louis Bossart
2018-11-16 13:49           ` Takashi Iwai
2018-11-16 14:11             ` Pierre-Louis Bossart
2018-11-16 17:44               ` Takashi Iwai
2018-11-20 16:02                 ` Pierre-Louis Bossart
2018-11-12 13:57 ` Pierre-Louis Bossart
2018-11-13 19:46 ` Applied "ASoC: Intel: hdac_hdmi: add Icelake support" to the asoc tree Mark Brown

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=ae98c656-07eb-0f4e-57f4-adbb3d751ff9@linux.intel.com \
    --to=yung-chuan.liao@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=pierre-louis.bossart@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.