Hi, On Sun, Nov 17, 2019 at 08:23:05PM +0100, H. Nikolaus Schaller wrote: > > [...] > > > + drm_panel_init(&ddata->panel, dev, &dsicm_panel_funcs, > > + DRM_MODE_CONNECTOR_DSI); > > + > > This leads to > > drivers/gpu/drm/panel/panel-dsi-cm.c: In function 'dsicm_probe': > drivers/gpu/drm/panel/panel-dsi-cm.c:552:2: error: too many arguments to function 'drm_panel_init' > drm_panel_init(&ddata->panel, dev, &dsicm_panel_funcs, > ^ > In file included from drivers/gpu/drm/panel/panel-dsi-cm.c:22:0: > ./include/drm/drm_panel.h:150:6: note: declared here > void drm_panel_init(struct drm_panel *panel); > ^ > > (when applied to v5.4-rc7) The patchset is based on drm-next from https://anongit.freedesktop.org/git/drm/drm.git For v5.4-rc7 it needs to look like this: + drm_panel_init(&ddata->panel); + ddata->panel.dev = dev; + ddata->panel.funcs = &dsicm_panel_funcs; > > [...] > > Otherwise the patches compile fine and my work-in progress > DSI panel driver is probing, but not initializing. Ok, I tried not to break video mode support, but I do not have any hardware. Make sure to set the MIPI_DSI_MODE_VIDEO flag in the panel driver. -- Sebastian
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel