Unverified Commit 5feed498 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12840 drm/loongson: use old version of ast driver for LoongArch platform

parents d6056771 2815e6db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7009,6 +7009,7 @@ L: dri-devel@lists.freedesktop.org
S:	Supported
T:	git git://anongit.freedesktop.org/drm/drm-misc
F:	drivers/gpu/drm/loongson/
F:	drivers/gpu/drm/loongson/ast_old/
DRM DRIVERS FOR MEDIATEK
M:	Chun-Kuang Hu <chunkuang.hu@kernel.org>
+1 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_NOUVEAU=m
CONFIG_DRM_VKMS=m
CONFIG_DRM_UDL=m
CONFIG_DRM_AST=y
CONFIG_DRM_AST_LOONGSON=y
CONFIG_DRM_MGAG200=m
CONFIG_DRM_QXL=m
CONFIG_DRM_VIRTIO_GPU=m
+2 −0
Original line number Diff line number Diff line
@@ -15,3 +15,5 @@ config DRM_LOONGSON
	  If "M" is selected, the module will be called loongson.

	  If in doubt, say "N".

source "drivers/gpu/drm/loongson/ast_old/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -20,3 +20,4 @@ loongson-y += loongson_device.o \
	      loongson_module.o

obj-$(CONFIG_DRM_LOONGSON) += loongson.o
obj-$(CONFIG_DRM_AST_LOONGSON) += ast_old/
+14 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config DRM_AST_LOONGSON
	tristate "AST server chips for Loongson Platform"
	depends on DRM && PCI && MMU && LOONGARCH
	select DRM_KMS_HELPER
	select DRM_VRAM_HELPER
	select DRM_TTM
	select DRM_TTM_HELPER
	help
	 Say yes for experimental AST GPU driver. Do not enable
	 this driver without having a working -modesetting,
	 and a version of AST that knows to fail if KMS
	 is bound to the driver. These GPUs are commonly found
	 in server chipsets.
Loading