All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 103129] drm-tip doesn't compile due to redefining ci_send_msg_to_smc
Date: Fri, 06 Oct 2017 21:25:26 +0000	[thread overview]
Message-ID: <bug-103129-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1565 bytes --]

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@lists.freedesktop.org
          Reporter: fei.yang@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@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@amd.com>
    Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@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.

[-- Attachment #1.2: Type: text/html, Size: 3076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2017-10-06 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-06 21:25 bugzilla-daemon [this message]
2019-11-19  8:24 ` [Bug 103129] drm-tip doesn't compile due to redefining ci_send_msg_to_smc bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103129-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.