Re: [PATCHv2 06/31] drm/omap: Init fbdev emulation only when we have displays

2017-03-25 Thread Daniel Vetter
On Fri, Mar 24, 2017 at 11:40:27AM +0200, Tomi Valkeinen wrote: > From: Peter Ujfalusi > > Do not try to init the fbdev if either num_crtcs or num_connectors is 0. > In this case we do not have display so the fbdev init would fail anyways. > > Signed-off-by: Peter Ujfalusi > Signed-off-by: Tomi

[PATCHv2 06/31] drm/omap: Init fbdev emulation only when we have displays

2017-03-24 Thread Tomi Valkeinen
From: Peter Ujfalusi Do not try to init the fbdev if either num_crtcs or num_connectors is 0. In this case we do not have display so the fbdev init would fail anyways. Signed-off-by: Peter Ujfalusi Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_fbdev.c | 3 +++ 1 file changed,