[Bug 103129] drm-tip doesn't compile due to redefining ci_send_msg_to_smc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 6 21:25:26 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103129

            Bug ID: 103129
           Summary: drm-tip doesn't compile due to redefining
                    ci_send_msg_to_smc
           Product: DRI
           Version: XOrg git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: fei.yang at intel.com

The following commit introduced another implementation of ci_send_msg_to_smc()
which is causing compile issue with allyesconfig.

commit 9f4b35411cfed96d4f9f092b2fed14905af84d89
Author: Rex Zhu <Rex.Zhu at amd.com>
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 <alexander.deucher at amd.com>
    Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171006/21b0aca1/attachment.html>


More information about the dri-devel mailing list