Re: 答复: [PATCH 3/4] drm/radeon: Add audio component support

2018-07-24 Thread jimqu
On 2018年07月25日 13:28, Takashi Iwai wrote: On Wed, 25 Jul 2018 05:32:52 +0200, Qu, Jim wrote: @@ -269,6 +271,10 @@ static void radeon_audio_enable(struct radeon_device *rdev, if (rdev->audio.funcs->enable) rdev->audio.funcs->enable(rdev, pin, enable_mask); + +

Re: 答复: [PATCH 3/4] drm/radeon: Add audio component support

2018-07-24 Thread Takashi Iwai
On Wed, 25 Jul 2018 05:32:52 +0200, Qu, Jim wrote: > @@ -269,6 +271,10 @@ static void radeon_audio_enable(struct radeon_device > *rdev, > > if (rdev->audio.funcs->enable) > rdev->audio.funcs->enable(rdev, pin, enable_mask); > + > + if (acomp && acomp->audio_ops && ac

答复: [PATCH 3/4] drm/radeon: Add audio component support

2018-07-24 Thread Qu, Jim
收件人: alsa-de...@alsa-project.org 抄送: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org 主题: [PATCH 3/4] drm/radeon: Add audio component support This patch introduces the HDMI audio component binding like what i915 does to radeon driver. Unlike i915, we need only the

[PATCH 3/4] drm/radeon: Add audio component support

2018-07-23 Thread Takashi Iwai
This patch introduces the HDMI audio component binding like what i915 does to radeon driver. Unlike i915, we need only the hotplug notification and the ELD query, hence the code is relatively simple, just adding the hook at radeon_audio_enable() and giving the eld query by copying the connector->e