mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The aspeed driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entirely. v5: - select DRM_CLIENT_SELECTION v3: - add DRM_FBDEV_DMA_DRIVER_OPS macro Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Joel Stanley <joel@jms.id.au> Cc: Andrew Jeffery <andrew@codeconstruct.com.au> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-11-tzimmermann@suse.de
18 lines
510 B
Plaintext
18 lines
510 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_ASPEED_GFX
|
|
tristate "ASPEED BMC Display Controller"
|
|
depends on DRM && OF
|
|
depends on (COMPILE_TEST || ARCH_ASPEED)
|
|
depends on MMU
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select DMA_CMA if HAVE_DMA_CONTIGUOUS
|
|
select CMA if HAVE_DMA_CONTIGUOUS
|
|
select MFD_SYSCON
|
|
help
|
|
Chose this option if you have an ASPEED AST2500 SOC Display
|
|
Controller (aka GFX).
|
|
|
|
If M is selected this module will be called aspeed_gfx.
|