<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Reloading the module creates two additional playback devices for HDMI."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94652">94652</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Reloading the module creates two additional playback devices for HDMI.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marius.c.vlad@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Freshly booted machines shows:

$ cat /proc/asound/pcm 
00-03: HDMI 0 : HDMI 0 : playback 1
01-00: ALC662 rev3 Analog : ALC662 rev3 Analog : playback 1 : capture 1
01-02: ALC662 rev3 Alt Analog : ALC662 rev3 Alt Analog : capture 1


$ cat /proc/asound/cards 
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7e14000 irq 36
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7e10000 irq 35

$ ls -1 /proc/asound/HDMI/
codec#0
eld#0.0
id
pcm3p

Upload reloading i915 module (w/ drv_module_reload) I get:

$ ls -1 /proc/asound/HDMI/
codec#0
eld#0.0
eld#0.1
eld#0.2
id
pcm3p
pcm7p
pcm8p


The following remains the same:

$ cat /proc/asound/cards 
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7e14000 irq 36
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7e10000 irq 35


$ ls -1 /proc/asound/card0/
codec#0
eld#0.0
eld#0.1
eld#0.2
id
pcm3p
pcm7p
pcm8p

pcm7p and pcm8p and their ELDs are bogus.

If I try to override the EDID, I could check EID-ELD conversion working by
looking at /proc/asound/HDMI/eld#0.0. Upon reloading it seems that
/proc/asound/HDMI/eld#0.1 gets filled with ELD information.

Just reloading snd_hda_intel doesn't trigger it. 

Used drm-intel-nightly:

commit 3b8b9e2deb9f23e1a841d0f9d80296a9759ff8f8
Author: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>
Date:   Mon Mar 21 15:04:36 2016 +0200</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>