ASpeed GPU is typically found on the Loongson server platform, as a
peripheral device driver, it generally should be compiled as a module.
Tested on loongson 3B4000 server[1].
[1] https://github.com/loongson-gfx/loongson_boards/tree/main/ls3b4000x2_server
Signed-off-by: Sui Jingfeng <[email protected]>
---
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 3087e64e6ebe..a9fadea72da5 100644
--- a/arch/mips/configs/loongson3_defconfig
+++ b/arch/mips/configs/loongson3_defconfig
@@ -283,6 +283,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_AMD_ACP=y
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_SI=y
+CONFIG_DRM_AST=m
CONFIG_DRM_RADEON=m
CONFIG_DRM_QXL=y
CONFIG_DRM_VIRTIO_GPU=y
--
2.34.1
Hi,
On 2023/8/15 16:29, Thomas Bogendoerfer wrote:
> On Thu, Aug 03, 2023 at 05:16:37PM +0800, Sui Jingfeng wrote:
>> ASpeed GPU is typically found on the Loongson server platform, as a
>> peripheral device driver, it generally should be compiled as a module.
>>
>> Tested on loongson 3B4000 server[1].
>>
>> [1] https://github.com/loongson-gfx/loongson_boards/tree/main/ls3b4000x2_server
>>
>> Signed-off-by: Sui Jingfeng <[email protected]>
>> ---
>> 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 3087e64e6ebe..a9fadea72da5 100644
>> --- a/arch/mips/configs/loongson3_defconfig
>> +++ b/arch/mips/configs/loongson3_defconfig
>> @@ -283,6 +283,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y
>> CONFIG_DRM_AMD_ACP=y
>> CONFIG_DRM_AMD_DC=y
>> CONFIG_DRM_AMD_DC_SI=y
>> +CONFIG_DRM_AST=m
>> CONFIG_DRM_RADEON=m
>> CONFIG_DRM_QXL=y
>> CONFIG_DRM_VIRTIO_GPU=y
>> --
>> 2.34.1
>>
> applied to mips-next.
>
> Thomas.
Thanks a lot.
On Thu, Aug 03, 2023 at 05:16:37PM +0800, Sui Jingfeng wrote:
> ASpeed GPU is typically found on the Loongson server platform, as a
> peripheral device driver, it generally should be compiled as a module.
>
> Tested on loongson 3B4000 server[1].
>
> [1] https://github.com/loongson-gfx/loongson_boards/tree/main/ls3b4000x2_server
>
> Signed-off-by: Sui Jingfeng <[email protected]>
> ---
> 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 3087e64e6ebe..a9fadea72da5 100644
> --- a/arch/mips/configs/loongson3_defconfig
> +++ b/arch/mips/configs/loongson3_defconfig
> @@ -283,6 +283,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y
> CONFIG_DRM_AMD_ACP=y
> CONFIG_DRM_AMD_DC=y
> CONFIG_DRM_AMD_DC_SI=y
> +CONFIG_DRM_AST=m
> CONFIG_DRM_RADEON=m
> CONFIG_DRM_QXL=y
> CONFIG_DRM_VIRTIO_GPU=y
> --
> 2.34.1
>
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]