-
- Downloads
drm/omapdrm: Run DRM default client setup
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. 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 omapdrm 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: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Acked-by:
Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240924071734.98201-81-tzimmermann@suse.de
Showing
- drivers/gpu/drm/omapdrm/Kconfig 1 addition, 0 deletionsdrivers/gpu/drm/omapdrm/Kconfig
- drivers/gpu/drm/omapdrm/omap_drv.c 1 addition, 0 deletionsdrivers/gpu/drm/omapdrm/omap_drv.c
- drivers/gpu/drm/omapdrm/omap_fbdev.c 29 additions, 102 deletionsdrivers/gpu/drm/omapdrm/omap_fbdev.c
- drivers/gpu/drm/omapdrm/omap_fbdev.h 8 additions, 0 deletionsdrivers/gpu/drm/omapdrm/omap_fbdev.h
Loading
Please register or sign in to comment