dri-devel Archive mirror
 help / color / mirror / Atom feed
From: Henry Wu <triangletrap12@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-kbuild@vger.kernel.org, gregkh@linuxfoundation.org
Subject: Re: A link error related to DRM and fbdev
Date: Wed, 8 May 2024 12:01:22 +0800	[thread overview]
Message-ID: <CAG-UpRQQU4ksYGZUM0kZPK0C02VWKqnA_Jokxb_208RRXMhDRQ@mail.gmail.com> (raw)
In-Reply-To: <CAK7LNASSrB_L7VbS1z3O6QuMf0nti1hGJVwip7RRF_-=jn2OHw@mail.gmail.com>

Thanks for your reply. I will communicate with member of dri-devel further.

I tried to reproduce this issue on master branch and there was no link error:

...
  CC      arch/x86/boot/compressed/efi.o
  AS      arch/x86/boot/compressed/efi_mixed.o
  CC      arch/x86/boot/compressed/misc.o
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
  MKPIGGY arch/x86/boot/compressed/piggy.S
  AS      arch/x86/boot/compressed/piggy.o
  LD      arch/x86/boot/compressed/vmlinux
  ZOFFSET arch/x86/boot/zoffset.h
  OBJCOPY arch/x86/boot/vmlinux.bin
  AS      arch/x86/boot/header.o
  LD      arch/x86/boot/setup.elf
  OBJCOPY arch/x86/boot/setup.bin
  BUILD   arch/x86/boot/bzImage
Kernel: arch/x86/boot/bzImage is ready  (#1)
$ cat .config | grep 'CONFIG_DRM_KMS\|CONFIG_FB\b\|FBDEV_EMUL'
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_FB=m
$

In the attachments you can find two ".config".
kernel_config_515y_failed is used on branch 5.15.y (tag 5.15.157) and
kernel_config_master_succeed is what I used for master branch.

Masahiro Yamada <masahiroy@kernel.org> 于2024年5月7日周二 23:06写道:
>
> Fw: DRM list
>
> On Mon, May 6, 2024 at 2:53 PM Henry Wu <triangletrap12@gmail.com> wrote:
> >
> > Hi, all.
> >
> > I found a link error related to DRM and fbdev on branch linux-5.15.y
> > (tag v5.15.157). It has same phenomenon with
> > https://lore.kernel.org/all/202303150232.MBonYhiv-lkp@intel.com/.
> >
> > I tried to investigate this issue and found that build will fail if
> > CONFIG_FB=m and it will succeed if CONFIG_FB=y.
> >
> > [user@localhost linux]$ cat .config | grep
> > 'CONFIG_DRM_KMS\|CONFIG_FB\b\|FBDEV_EMUL'
> > CONFIG_DRM_KMS_HELPER=y
> > CONFIG_DRM_FBDEV_EMULATION=y
> > CONFIG_FB=m
> > [user@localhost linux]$
> >
> > I'm not familiar with kbuild. Can anyone troubleshoot it further? You
> > can find .config from attachment.
>
>
> I do not have time to take a look at every build error,
> but somebody in the DRM list may help you.
>
>
>
> --
> Best Regards
> Masahiro Yamada

      reply	other threads:[~2024-05-08  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAG-UpRQ5Dp4sO2CBTiOpBtjZoRj4U2rNxAwSbari+VcqvayuSQ@mail.gmail.com>
2024-05-07 15:05 ` A link error related to DRM and fbdev Masahiro Yamada
2024-05-08  4:01   ` Henry Wu [this message]

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=CAG-UpRQQU4ksYGZUM0kZPK0C02VWKqnA_Jokxb_208RRXMhDRQ@mail.gmail.com \
    --to=triangletrap12@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kbuild@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).