From: Huacai Chen <chenhuacai@kernel.org>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Wang Haojun <jiangliuer01@gmail.com>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Wang Haojun <wanghaojun@loongson.cn>,
Xuefeng Li <lixuefeng@loongson.cn>,
"linux-mips@vger.kernel.org" <linux-mips@vger.kernel.org>
Subject: Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
Date: Mon, 13 Sep 2021 10:25:50 +0800 [thread overview]
Message-ID: <CAAhV-H79b6jwbrL2MjXxLBUcEku_6C8sB4_BWZhjhUNPqCSv5g@mail.gmail.com> (raw)
In-Reply-To: <eea34c97-bb3c-4b36-9f85-18a07fd004a8@www.fastmail.com>
Hi, Jiaxun,
On Sun, Sep 12, 2021 at 3:57 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>
>
>
> 在2021年9月12日九月 上午7:13,Wang Haojun写道:
> > This is no display on the screen during boot-up when using latest
> > loongson3_defconfig, because CONFIG_FRAMEBUFFER_CONSOLE=y depends
> > on CONFIG_FB=y in this file.
>
> Hi Haojun,
>
> It won't work unless you get LS7A dc driver upstreamed or amdgpu firmware resolved.
>
> Thanks.
This patch has nothing to do with LS7A DC or amdgpu firmware. The
problem is before commit f611b1e7624c ("drm: Avoid circular
dependencies for CONFIG_FB"), FB and FRAMEBUFFER_CONSOLE are selected
by default. But after that it is unselected so we should enable it in
the default config file, otherwise there is no display before Xorg
(even after the GPU driver is loaded, because we have no FB console).
Huacai
>
> >
> > Signed-off-by: Wang Haojun <wanghaojun@loongson.cn>
> > ---
> > arch/mips/configs/loongson3_defconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/mips/configs/loongson3_defconfig
> > b/arch/mips/configs/loongson3_defconfig
> > index f02101ff04b3..25ecd15bc952 100644
> > --- a/arch/mips/configs/loongson3_defconfig
> > +++ b/arch/mips/configs/loongson3_defconfig
> > @@ -282,6 +282,7 @@ CONFIG_DRM=y
> > CONFIG_DRM_RADEON=m
> > CONFIG_DRM_QXL=y
> > CONFIG_DRM_VIRTIO_GPU=y
> > +CONFIG_FB=y
> > CONFIG_FB_RADEON=y
> > CONFIG_LCD_CLASS_DEVICE=y
> > CONFIG_LCD_PLATFORM=m
> > --
> > 2.27.0
> >
> >
>
>
> --
> - Jiaxun
prev parent reply other threads:[~2021-09-13 2:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-12 6:13 [PATCH] MIPS: loongson64: Fix no screen display during boot-up Wang Haojun
2021-09-12 7:57 ` Jiaxun Yang
2021-09-13 1:32 ` 江流儿
2021-09-13 4:09 ` Jiaxun Yang
2021-09-13 5:04 ` Huacai Chen
2021-09-13 2:25 ` Huacai Chen [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=CAAhV-H79b6jwbrL2MjXxLBUcEku_6C8sB4_BWZhjhUNPqCSv5g@mail.gmail.com \
--to=chenhuacai@kernel.org \
--cc=jiangliuer01@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-mips@vger.kernel.org \
--cc=lixuefeng@loongson.cn \
--cc=tsbogend@alpha.franken.de \
--cc=wanghaojun@loongson.cn \
/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 NNTP newsgroup(s).