Re: [PATCH v1 04/16] drm/imx: fix opencoded use of drm_panel_*

2019-08-05 Thread Philipp Zabel
On Sun, 2019-08-04 at 22:16 +0200, Sam Ravnborg wrote: > Use the drm_panel_get_modes() function to get the modes. > > This patch leave one test for the function pointer: > panel->funcs->get_modes > > This is used to check if the panel may have any modes. > There is no direct replacement. >

[PATCH v1 04/16] drm/imx: fix opencoded use of drm_panel_*

2019-08-04 Thread Sam Ravnborg
Use the drm_panel_get_modes() function to get the modes. This patch leave one test for the function pointer: panel->funcs->get_modes This is used to check if the panel may have any modes. There is no direct replacement. We may be able to just check that drm_panel_get_modes() return > 0, but