Skip to content

Commit

Permalink
drm/vc4: Run default client setup for all variants.
Browse files Browse the repository at this point in the history
Commit 4590362 ("drm/vc4: Run DRM default client setup")
only added DRM_FBDEV_DMA_DRIVER_OPS for the vc4 (Pi0-3) driver
definition, which caused an issue on vc5 (Pi4) as there was no
fbdev_probe function defined.

Fixes: 4590362 ("drm/vc4: Run DRM default client setup")
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241002-vc4_fbdev_fix-v1-1-8737bd11b147@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  • Loading branch information
Dave Stevenson committed Oct 9, 2024
1 parent bd07dbb commit 01c29db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/vc4/vc4_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ const struct drm_driver vc5_drm_driver = {
#endif

DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(vc5_dumb_create),
DRM_FBDEV_DMA_DRIVER_OPS,

.fops = &vc4_drm_fops,

Expand Down

0 comments on commit 01c29db

Please sign in to comment.