All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: loongson64: Fix no screen display during boot-up
@ 2021-09-12  6:13 Wang Haojun
  2021-09-12  7:57 ` Jiaxun Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Wang Haojun @ 2021-09-12  6:13 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Huacai Chen, Jiaxun Yang, Wang Haojun, Li Xuefeng
  Cc: linux-mips

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.

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
  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  2:25   ` Huacai Chen
  0 siblings, 2 replies; 6+ messages in thread
From: Jiaxun Yang @ 2021-09-12  7:57 UTC (permalink / raw)
  To: Wang Haojun, Thomas Bogendoerfer, Huacai Chen, Wang Haojun, Xuefeng Li
  Cc: linux-mips



在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.

> 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
  2021-09-12  7:57 ` Jiaxun Yang
@ 2021-09-13  1:32   ` 江流儿
  2021-09-13  4:09     ` Jiaxun Yang
  2021-09-13  2:25   ` Huacai Chen
  1 sibling, 1 reply; 6+ messages in thread
From: 江流儿 @ 2021-09-13  1:32 UTC (permalink / raw)
  To: Jiaxun Yang
  Cc: Thomas Bogendoerfer, Huacai Chen, Wang Haojun, Xuefeng Li, linux-mips

Hi Jiaxun,

CONFIG_FRAMEBUFFER_CONSOLE  is enabled in this config file, but
CONFIG_FRAMEBUFFER_CONSOLE depends on CONFIG_FB and CONFIG_FB is not
selected in this file. This which causes CONFIG_FRAMEBUFFER_CONSOLE to
be unchecked, So it causes these problems.so I selcted CONFIG_FB in
this config file.

Jiaxun Yang <jiaxun.yang@flygoat.com> 于2021年9月12日周日 下午3:57写道:
>
>
>
> 在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.
>
> >
> > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
  2021-09-12  7:57 ` Jiaxun Yang
  2021-09-13  1:32   ` 江流儿
@ 2021-09-13  2:25   ` Huacai Chen
  1 sibling, 0 replies; 6+ messages in thread
From: Huacai Chen @ 2021-09-13  2:25 UTC (permalink / raw)
  To: Jiaxun Yang
  Cc: Wang Haojun, Thomas Bogendoerfer, Wang Haojun, Xuefeng Li, linux-mips

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
  2021-09-13  1:32   ` 江流儿
@ 2021-09-13  4:09     ` Jiaxun Yang
  2021-09-13  5:04       ` Huacai Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Jiaxun Yang @ 2021-09-13  4:09 UTC (permalink / raw)
  To: Wang Haojun
  Cc: Thomas Bogendoerfer, Huacai Chen, Wang Haojun, Xuefeng Li, linux-mips



在2021年9月13日九月 上午2:32,江流儿写道:
> Hi Jiaxun,
> 
> CONFIG_FRAMEBUFFER_CONSOLE  is enabled in this config file, but
> CONFIG_FRAMEBUFFER_CONSOLE depends on CONFIG_FB and CONFIG_FB is not
> selected in this file. This which causes CONFIG_FRAMEBUFFER_CONSOLE to
> be unchecked, So it causes these problems.so I selcted CONFIG_FB in
> this config file.

Oops, Sorry I get your point now.

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Thanks.


> 
> Jiaxun Yang <jiaxun.yang@flygoat.com> 于2021年9月12日周日 下午3:57写道:
> >
> >
> >
> > 在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.
> >
> > >
> > > 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
> 


-- 
- Jiaxun

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] MIPS: loongson64: Fix no screen display during boot-up
  2021-09-13  4:09     ` Jiaxun Yang
@ 2021-09-13  5:04       ` Huacai Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Huacai Chen @ 2021-09-13  5:04 UTC (permalink / raw)
  To: Jiaxun Yang
  Cc: Wang Haojun, Thomas Bogendoerfer, Wang Haojun, Xuefeng Li, linux-mips

Maybe the commit message can be improved.

Reviewed-by: Huacai Chen <chenhuacai@kernel.org>

On Mon, Sep 13, 2021 at 12:09 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>
>
>
> 在2021年9月13日九月 上午2:32,江流儿写道:
> > Hi Jiaxun,
> >
> > CONFIG_FRAMEBUFFER_CONSOLE  is enabled in this config file, but
> > CONFIG_FRAMEBUFFER_CONSOLE depends on CONFIG_FB and CONFIG_FB is not
> > selected in this file. This which causes CONFIG_FRAMEBUFFER_CONSOLE to
> > be unchecked, So it causes these problems.so I selcted CONFIG_FB in
> > this config file.
>
> Oops, Sorry I get your point now.
>
> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>
> Thanks.
>
>
> >
> > Jiaxun Yang <jiaxun.yang@flygoat.com> 于2021年9月12日周日 下午3:57写道:
> > >
> > >
> > >
> > > 在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.
> > >
> > > >
> > > > 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
> >
>
>
> --
> - Jiaxun

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-13  5:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.