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]

[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 :00:06.1: