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

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-16-tzimmermann@suse.de

+4 -1
+1
drivers/gpu/drm/tiny/Kconfig
··· 113 113 tristate "DRM support for ILI9163 display panels" 114 114 depends on DRM && SPI 115 115 select BACKLIGHT_CLASS_DEVICE 116 + select DRM_CLIENT_SELECTION 116 117 select DRM_GEM_DMA_HELPER 117 118 select DRM_KMS_HELPER 118 119 select DRM_MIPI_DBI
+3 -1
drivers/gpu/drm/tiny/ili9163.c
··· 8 8 #include <linux/spi/spi.h> 9 9 10 10 #include <drm/drm_atomic_helper.h> 11 + #include <drm/drm_client_setup.h> 11 12 #include <drm/drm_drv.h> 12 13 #include <drm/drm_fbdev_dma.h> 13 14 #include <drm/drm_gem_atomic_helper.h> ··· 114 113 .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC, 115 114 .fops = &ili9163_fops, 116 115 DRM_GEM_DMA_DRIVER_OPS_VMAP, 116 + DRM_FBDEV_DMA_DRIVER_OPS, 117 117 .debugfs_init = mipi_dbi_debugfs_init, 118 118 .name = "ili9163", 119 119 .desc = "Ilitek ILI9163", ··· 187 185 if (ret) 188 186 return ret; 189 187 190 - drm_fbdev_dma_setup(drm, 0); 188 + drm_client_setup(drm, NULL); 191 189 192 190 return 0; 193 191 }