Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/meson: Run DRM default client setup

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 meson 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

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-28-tzimmermann@suse.de

+4 -1
+1
drivers/gpu/drm/meson/Kconfig
··· 3 3 tristate "DRM Support for Amlogic Meson Display Controller" 4 4 depends on DRM && OF && (ARM || ARM64) 5 5 depends on ARCH_MESON || COMPILE_TEST 6 + select DRM_CLIENT_SELECTION 6 7 select DRM_KMS_HELPER 7 8 select DRM_DISPLAY_HELPER 8 9 select DRM_BRIDGE_CONNECTOR
+3 -1
drivers/gpu/drm/meson/meson_drv.c
··· 17 17 18 18 #include <drm/drm_aperture.h> 19 19 #include <drm/drm_atomic_helper.h> 20 + #include <drm/drm_client_setup.h> 20 21 #include <drm/drm_drv.h> 21 22 #include <drm/drm_fbdev_dma.h> 22 23 #include <drm/drm_gem_dma_helper.h> ··· 99 98 100 99 /* DMA Ops */ 101 100 DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(meson_dumb_create), 101 + DRM_FBDEV_DMA_DRIVER_OPS, 102 102 103 103 /* Misc */ 104 104 .fops = &fops, ··· 355 353 if (ret) 356 354 goto uninstall_irq; 357 355 358 - drm_fbdev_dma_setup(drm, 32); 356 + drm_client_setup(drm, NULL); 359 357 360 358 return 0; 361 359