Re: [RFCv1 32/42] drm/omap: dsi: convert to drm_panel

2019-11-19 Thread H. Nikolaus Schaller
Hi Sebastian, > Am 18.11.2019 um 15:51 schrieb H. Nikolaus Schaller : > >> 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. > > Indeed, this may be missing (can't look into the code at the moment

Re: [RFCv1 32/42] drm/omap: dsi: convert to drm_panel

2019-11-19 Thread Sebastian Reichel
Hi Nikolaus, On Tue, Nov 19, 2019 at 10:42:55AM +0100, H. Nikolaus Schaller wrote: > > Am 18.11.2019 um 15:51 schrieb H. Nikolaus Schaller : > > > >> 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 > >> d

Re: [RFCv1 32/42] drm/omap: dsi: convert to drm_panel

2019-11-19 Thread H. Nikolaus Schaller
> Am 18.11.2019 um 15:45 schrieb Sebastian Reichel > : > > 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 >> >>

Re: [RFCv1 32/42] drm/omap: dsi: convert to drm_panel

2019-11-19 Thread Sebastian Reichel
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': > driv

Re: [RFCv1 32/42] drm/omap: dsi: convert to drm_panel

2019-11-18 Thread H. Nikolaus Schaller
Hi, > Am 17.11.2019 um 03:40 schrieb Sebastian Reichel > : > > This converts the DSI module to expect common drm_panel display > drivers instead of dssdev based ones. > > This commit is WIP. We somehow need to know the panels resolution > in omap_dsi_host_attach(), so that we can properly confi