Re: [V3] drm/loongson: Error out if no VRAM detected

2024-02-06 Thread Sui Jingfeng
Hi, I have already merged this patch, no further action is required.

[PATCH V3] drm/loongson: Error out if no VRAM detected

2024-02-05 Thread Huacai Chen
If there is no VRAM (it can be true if there is a discreted card, this is probably a hardware configuration issue in BIOS but it is observed in GDC-1401 laptop, L71 laptop and some Loongson-3C5000L based servers), we get such an error and Xorg fails to start: [ 136.401131] loongson :00:06.1:

Re: drm/loongson: Error out if no VRAM detected

2024-02-05 Thread Huacai Chen
On Sat, Feb 3, 2024 at 1:24 AM Sui Jingfeng wrote: > > > On 2024/1/19 18:40, Huacai Chen wrote: > > If there is no VRAM (it is true if there is a discreted card), we get > > such an error and Xorg fails to start: > > > > [ 136.401131] loongson :00:06.1: [drm] *ERROR* Requesting(0MiB) failed

Re: drm/loongson: Error out if no VRAM detected

2024-02-02 Thread Sui Jingfeng
On 2024/1/19 18:40, Huacai Chen wrote: If there is no VRAM (it is true if there is a discreted card), we get such an error and Xorg fails to start: [ 136.401131] loongson :00:06.1: [drm] *ERROR* Requesting(0MiB) failed [ 137.444342] loongson :00:06.1: [drm] *ERROR* Requesting(0MiB)

Re: [V2] drm/loongson: Error out if no VRAM detected

2024-01-24 Thread Sui Jingfeng
Hi, On 2024/1/24 18:16, Huacai Chen wrote: If there is no VRAM (it can be true if there is a discreted card, this is probably a hardware configuration issue in BIOS but it is observed in GDC-1401 laptop, L71 laptop and some Loongson-3C5000L based servers), we get such an error and Xorg fails

[PATCH V2] drm/loongson: Error out if no VRAM detected

2024-01-24 Thread Huacai Chen
If there is no VRAM (it can be true if there is a discreted card, this is probably a hardware configuration issue in BIOS but it is observed in GDC-1401 laptop, L71 laptop and some Loongson-3C5000L based servers), we get such an error and Xorg fails to start: [ 136.401131] loongson :00:06.1:

Re: drm/loongson: Error out if no VRAM detected

2024-01-24 Thread Huacai Chen
Hi, Jingfeng, On Sat, Jan 20, 2024 at 12:19 AM Sui JIngfeng wrote: > > Hi, > > Thanks a lot for contribution. > > On 2024/1/19 18:40, Huacai Chen wrote: > > If there is no VRAM (it is true if there is a discreted card), > > > Why the dedicated VRAM is gone whenthere is a discrete card? > > As

Re: drm/loongson: Error out if no VRAM detected

2024-01-23 Thread Sui Jingfeng
Hi, CCing Li Chao On 2024/1/21 15:07, Katyusha wrote: Hi, On 2024/1/21 5:28, Sui JIngfeng wrote: Hi, On 2024/1/20 20:01, Katyusha wrote: Hi, This patch works fine with my Loongson 3A5000M laptop (L71), which has a 7A1000 chipset without VRAM. Can you give more details about the

Re: [PATCH] drm/loongson: Error out if no VRAM detected

2024-01-23 Thread Shi Pujin
Hi, This patch works fine with my Loongson 3A5000 laptop (GDC-1401), which has a 7A1000 chipset without VRAM. lspci |grep VGA 00:06.1 VGA compatible controller: Loongson Technology LLC DC (Display Controller) (rev 01) 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]

Re: drm/loongson: Error out if no VRAM detected

2024-01-21 Thread yetist
在 2024/1/21 05:09, Sui JIngfeng 写道: Hi, On 2024/1/21 00:07, yetist wrote: Without this patch, my server cannot start the DM. It is a Loongson 3C5000L server, with both a Loongson display controller and an ASPEED graphics card.   $ lspci |grep VGA   :00:06.1 VGA Compatible Controller:

Re: drm/loongson: Error out if no VRAM detected

2024-01-21 Thread yetist
Without this patch, my server cannot start the DM. It is a Loongson 3C5000L server, with both a Loongson display controller and an ASPEED graphics card.   $ lspci |grep VGA   :00:06.1 VGA Compatible Controller: Loongson Technology LLC DC (Display Controller) (rev 01)   :03:00.0

Re: drm/loongson: Error out if no VRAM detected

2024-01-20 Thread Katyusha
Hi, On 2024/1/21 5:28, Sui JIngfeng wrote: Hi, On 2024/1/20 20:01, Katyusha wrote: Hi, This patch works fine with my Loongson 3A5000M laptop (L71), which has a 7A1000 chipset without VRAM. Can you give more details about the hardware configuration about this laptop? For example, by

Re: drm/loongson: Error out if no VRAM detected

2024-01-20 Thread Sui JIngfeng
Hi, On 2024/1/20 20:01, Katyusha wrote: Hi, This patch works fine with my Loongson 3A5000M laptop (L71), which has a 7A1000 chipset without VRAM. Can you give more details about the hardware configuration about this laptop? For example, by using 'lspci | grep VGA' command. I want to

Re: drm/loongson: Error out if no VRAM detected

2024-01-20 Thread Sui JIngfeng
Hi, On 2024/1/21 00:07, yetist wrote: Without this patch, my server cannot start the DM. It is a Loongson 3C5000L server, with both a Loongson display controller and an ASPEED graphics card.   $ lspci |grep VGA   :00:06.1 VGA Compatible Controller: Loongson Technology LLC DC (Display

Re: drm/loongson: Error out if no VRAM detected

2024-01-20 Thread Katyusha
Hi, This patch works fine with my Loongson 3A5000M laptop (L71), which has a 7A1000 chipset without VRAM. On 2024/1/20 0:18, Sui JIngfeng wrote: Hi, Thanks a lot for contribution. On 2024/1/19 18:40, Huacai Chen wrote: If there is no VRAM (it is true if there is a discreted card), Why

Re: drm/loongson: Error out if no VRAM detected

2024-01-20 Thread Katyusha
Hi, This patch works fine with my Loongson 3A5000M laptop (L71), which has a 7A1000 chipset without VRAM.

Re: drm/loongson: Error out if no VRAM detected

2024-01-19 Thread Sui JIngfeng
Hi, Thanks a lot for contribution. On 2024/1/19 18:40, Huacai Chen wrote: If there is no VRAM (it is true if there is a discreted card), Why the dedicated VRAM is gone whenthere is a discrete card? As far as I know, this is only possible on Loongson 3C5000 + aspeed BMC server hardware

[PATCH] drm/loongson: Error out if no VRAM detected

2024-01-19 Thread Huacai Chen
If there is no VRAM (it is true if there is a discreted card), we get such an error and Xorg fails to start: [ 136.401131] loongson :00:06.1: [drm] *ERROR* Requesting(0MiB) failed [ 137.444342] loongson :00:06.1: [drm] *ERROR* Requesting(0MiB) failed [ 138.871166] loongson