[PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-23 Thread Chen-Yu Tsai
On Tue, Nov 22, 2016 at 11:37 PM, Maxime Ripard wrote: > Hi, > > On Fri, Nov 18, 2016 at 10:22:40AM +0800, Chen-Yu Tsai wrote: >> On Fri, Nov 18, 2016 at 3:02 AM, Maxime Ripard >> wrote: >> > On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: >> >> The sun4i DRM driver counts the numbe

[PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-22 Thread Maxime Ripard
Hi, On Fri, Nov 18, 2016 at 10:22:40AM +0800, Chen-Yu Tsai wrote: > On Fri, Nov 18, 2016 at 3:02 AM, Maxime Ripard > wrote: > > On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: > >> The sun4i DRM driver counts the number of endpoints it found and > >> registers the whole DRM pipeline

[PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-18 Thread Chen-Yu Tsai
On Fri, Nov 18, 2016 at 3:02 AM, Maxime Ripard wrote: > On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: >> The sun4i DRM driver counts the number of endpoints it found and >> registers the whole DRM pipeline if any endpoints are found. >> >> However, if the TCON and its child endpoin

[PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-17 Thread Maxime Ripard
On Wed, Nov 16, 2016 at 05:37:31PM +0800, Chen-Yu Tsai wrote: > The sun4i DRM driver counts the number of endpoints it found and > registers the whole DRM pipeline if any endpoints are found. > > However, if the TCON and its child endpoints (LCD panels, TV encoder, > HDMI encoder, MIPI DSI encoder

[PATCH] drm/sun4i: Only count TCON endpoints as valid outputs

2016-11-16 Thread Chen-Yu Tsai
The sun4i DRM driver counts the number of endpoints it found and registers the whole DRM pipeline if any endpoints are found. However, if the TCON and its child endpoints (LCD panels, TV encoder, HDMI encoder, MIPI DSI encoder, etc.) aren't found, that means we don't have any usable CRTCs, and the