Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Jiaxun,

On Sun, Sep 12, 2021 at 3:57 PM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> > ---
> >  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




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux