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/kmb: 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: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Cc: Edmund Dea <edmund.j.dea@intel.com>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-24-tzimmermann@suse.de

+4 -1
+1
drivers/gpu/drm/kmb/Kconfig
··· 2 2 tristate "Intel Keembay Display" 3 3 depends on DRM 4 4 depends on ARCH_KEEMBAY || COMPILE_TEST 5 + select DRM_CLIENT_SELECTION 5 6 select DRM_KMS_HELPER 6 7 select DRM_DISPLAY_HELPER 7 8 select DRM_BRIDGE_CONNECTOR
+3 -1
drivers/gpu/drm/kmb/kmb_drv.c
··· 14 14 #include <linux/regmap.h> 15 15 16 16 #include <drm/drm_atomic_helper.h> 17 + #include <drm/drm_client_setup.h> 17 18 #include <drm/drm_drv.h> 18 19 #include <drm/drm_fbdev_dma.h> 19 20 #include <drm/drm_gem_dma_helper.h> ··· 442 441 /* GEM Operations */ 443 442 .fops = &fops, 444 443 DRM_GEM_DMA_DRIVER_OPS_VMAP, 444 + DRM_FBDEV_DMA_DRIVER_OPS, 445 445 .name = "kmb-drm", 446 446 .desc = "KEEMBAY DISPLAY DRIVER", 447 447 .date = DRIVER_DATE, ··· 563 561 if (ret) 564 562 goto err_register; 565 563 566 - drm_fbdev_dma_setup(&kmb->drm, 0); 564 + drm_client_setup(&kmb->drm, NULL); 567 565 568 566 return 0; 569 567