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

2018-07-25 Thread jimqu
On 2018年07月25日 13:46, Takashi Iwai wrote: On Wed, 25 Jul 2018 07:38:37 +0200, Qu, Jim wrote: Jim: Just like Alex said, we want driver can get eld info when hotplug in new device. amdgpu driver is a bit difference from radeon driver, it is not a suitable place to call notify() function

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

2018-07-24 Thread Takashi Iwai
On Wed, 25 Jul 2018 07:38:37 +0200, Qu, Jim wrote: > > Jim: Just like Alex said, we want driver can get eld info when hotplug in new > device. amdgpu driver is a bit difference from radeon driver, it is not a > suitable place to call notify() function in *_audio_enable() , since they are > not

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

2018-07-24 Thread Qu, Jim
See comments in line. Thanks JimQu 发件人: amd-gfx 代表 Takashi Iwai 发送时间: 2018年7月23日 22:50 收件人: alsa-de...@alsa-project.org 抄送: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org 主题: [PATCH 4/4] drm/amdgpu

[PATCH 4/4] drm/amdgpu: Add audio component support

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