<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 - drm-tip doesn't compile due to redefining ci_send_msg_to_smc"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103129">103129</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>drm-tip doesn't compile due to redefining ci_send_msg_to_smc
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fei.yang@intel.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following commit introduced another implementation of ci_send_msg_to_smc()
which is causing compile issue with allyesconfig.

commit 9f4b35411cfed96d4f9f092b2fed14905af84d89
Author: Rex Zhu <<a href="mailto:Rex.Zhu@amd.com">Rex.Zhu@amd.com</a>>
Date:   Fri Sep 8 19:34:33 2017 +0800

    drm/amd/powerplay: add CI asics support to smumgr (v3)

    This ports support for CI asics (Bonaire, Hawaii)
    to the powerplay smumgr

    v2: warning fix (Alex)
    v3: squash in fix for thermal (Tom)

    Reviewed-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>
    Signed-off-by: Rex Zhu <<a href="mailto:Rex.Zhu@amd.com">Rex.Zhu@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>

To reproduce the issue:
checkout the latest drm-tip
make allyesconfig
make

...
drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.o: In function
`ci_send_msg_to_smc':
ci_smc.c:(.text+0xea0): multiple definition of `ci_send_msg_to_smc'
drivers/gpu/drm/radeon/ci_smc.o:ci_smc.c:(.text+0x300): first defined here
make: *** [vmlinux] Error 1</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>