<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style id="mysingle_style">v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><title>Samsung Enterprise Portal mySingle</title><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin-top:3.75pt;
        margin-right:0cm;
        margin-bottom:3.75pt;
        margin-left:0cm;
        font-size:9.0pt;
        font-family:"Arial","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Malgun Gothic";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><![if mso 9]><style>p.MsoNormal
        {margin-left:7.5pt;}
</style><![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link=blue vlink=purple style='margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Hi, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>I bet 1<sup>st</sup> option. And configure it at user space. IOW set the proper ALSA kcontrol. And set the proper DRM audio config by IOCTL..<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Any other opinions?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Malgun Gothic";color:#1F497D'>Thank you,<br>Kyungmin Park<o:p></o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> RAHUL SHARMA [mailto:rahul.sharma@samsung.com] <br><b>Sent:</b> Thursday, July 19, 2012 6:57 PM<br><b>To:</b> dri-devel@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@samsung.com; kyungmin.park@samsung.com<br><b>Subject:</b> Fwd: exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count)<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p><span lang=EN-US>Hi Inki,<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>Please suggest me a solution for this problem.<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>regards,<o:p></o:p></span></p><p><span lang=EN-US>Rahul Sharma<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>------- <b>Original Message</b> -------<o:p></o:p></span></p><p><b><span lang=EN-US>Sender</span></b><span lang=EN-US> : RAHUL SHARMA<rahul.sharma@samsung.com> ./Technical Manager/SISO-Solution 1/Samsung Electronics<o:p></o:p></span></p><p><b><span lang=EN-US>Date</span></b><span lang=EN-US> : Jul 17, 2012 11:42 (GMT+05:30)<o:p></o:p></span></p><p><b><span lang=EN-US>Title</span></b><span lang=EN-US> : exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count)<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif"'>hi,<br><br>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. <br>Possible solution:<br>1) drm driver exposing ioctl for setting audio parameters.<br>2) alsa driver notifying the change in audio parameters through kernel notifiers. drm hdmi driver subscribed for the same.<br><br>Please suggest me a good way to implement this.<br><br>regards,<br>Rahul Sharma. <o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><table class=MsoNormalTable border=0 cellpadding=0 id=confidentialsignimg><tr><td style='padding:.75pt .75pt .75pt .75pt'><p><span lang=EN-US><img width=520 height=144 id="_x0000_i1025" src="cid:image001.jpg@01CD6687.A8083260"><o:p></o:p></span></p></td></tr></table><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-US><o:p> </o:p></span></p></div></div></body></html>