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/gud: 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.

v5:
- select DRM_CLIENT_SELECTION

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-55-tzimmermann@suse.de

+4 -1
+1
drivers/gpu/drm/gud/Kconfig
··· 4 4 tristate "GUD USB Display" 5 5 depends on DRM && USB && MMU 6 6 select LZ4_COMPRESS 7 + select DRM_CLIENT_SELECTION 7 8 select DRM_KMS_HELPER 8 9 select DRM_GEM_SHMEM_HELPER 9 10 select BACKLIGHT_CLASS_DEVICE
+3 -1
drivers/gpu/drm/gud/gud_drv.c
··· 15 15 16 16 #include <drm/drm_atomic_helper.h> 17 17 #include <drm/drm_blend.h> 18 + #include <drm/drm_client_setup.h> 18 19 #include <drm/drm_damage_helper.h> 19 20 #include <drm/drm_debugfs.h> 20 21 #include <drm/drm_drv.h> ··· 377 376 .fops = &gud_fops, 378 377 DRM_GEM_SHMEM_DRIVER_OPS, 379 378 .gem_prime_import = gud_gem_prime_import, 379 + DRM_FBDEV_SHMEM_DRIVER_OPS, 380 380 381 381 .name = "gud", 382 382 .desc = "Generic USB Display", ··· 624 622 625 623 drm_kms_helper_poll_init(drm); 626 624 627 - drm_fbdev_shmem_setup(drm, 0); 625 + drm_client_setup(drm, NULL); 628 626 629 627 return 0; 630 628 }