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 logicvc driver specifies a preferred color mode from the value in struct drm_mode_config.preferred_depth. The fbdev client also looks at this value for the default pixel format. Thus remove the format selection from logicvc. v5: - select DRM_CLIENT_SELECTION Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-25-tzimmermann@suse.de
13 lines
311 B
Plaintext
13 lines
311 B
Plaintext
config DRM_LOGICVC
|
|
tristate "LogiCVC DRM"
|
|
depends on DRM
|
|
depends on OF || COMPILE_TEST
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_DMA_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select REGMAP
|
|
select REGMAP_MMIO
|
|
help
|
|
DRM display driver for the logiCVC programmable logic block from Xylon
|