Hi,
I bet 1st option. And configure it at user space. IOW set the proper ALSA kcontrol. And set the proper DRM audio config by IOCTL.. Any other opinions? Thank you, Kyungmin Park From: RAHUL SHARMA [mailto:rahul.sha...@samsung.com] Sent: Thursday, July 19, 2012 6:57 PM To: dri-devel at lists.freedesktop.org; SUNIL JOSHI; PRASHANTH GODREHAL; Prathyush Kalashwaram; PADMAVATHI VENNA; CHANDRASEKAR RAMAKRISHNAN; SHIRISH S; FAHAD KUNNATHADI; SUNIL M; Joonyoung Shim; Seung-Woo Kim; inki.dae at samsung.com; kyungmin.park at samsung.com Subject: Fwd: exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count) Hi Inki, Please suggest me a solution for this problem. regards, Rahul Sharma ------- Original Message ------- Sender : RAHUL SHARMA<rahul.sharma at samsung.com> ./Technical Manager/SISO-Solution 1/Samsung Electronics Date : Jul 17, 2012 11:42 (GMT+05:30) Title : exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count) hi, I am adding support for hdmi audio, inside exynos drm hdmi driver. Hdmi audio is initialized with default parameters. I want to implement the mechanism to update hdmi registers, whenever audio properties got changed (i2s/spdif). raedon/r600 drm dirver is polling the audio ip every 100 ms and reconfigure the hdmi audio block. This is not possible with exynos as all information cannot be collected from i2s tx registers. It is directly set on wm8994 connected through i2c. Possible solution: 1) drm driver exposing ioctl for setting audio parameters. 2) alsa driver notifying the change in audio parameters through kernel notifiers. drm hdmi driver subscribed for the same. Please suggest me a good way to implement this. regards, Rahul Sharma. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120720/6e797d74/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 72722 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120720/6e797d74/attachment-0001.jpg>