Re: [PATCH] drm/nouveau: tegra: Initialize mode configuration

2018-11-07 Thread Thierry Reding
On Wed, Nov 07, 2018 at 10:52:11AM -0500, Ilia Mirkin wrote: > On Wed, Nov 7, 2018 at 10:34 AM Thierry Reding > wrote: > > > > On Tue, Nov 06, 2018 at 06:41:22PM +0200, Ville Syrjälä wrote: > > > On Tue, Nov 06, 2018 at 05:24:15PM +0100, Thierry Reding wrote: > > > > From: Thierry Reding > > > >

Re: [PATCH] drm/nouveau: tegra: Initialize mode configuration

2018-11-07 Thread Ilia Mirkin
On Wed, Nov 7, 2018 at 10:34 AM Thierry Reding wrote: > > On Tue, Nov 06, 2018 at 06:41:22PM +0200, Ville Syrjälä wrote: > > On Tue, Nov 06, 2018 at 05:24:15PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Irrespective of whether or not the device has any usable outputs, the

Re: [PATCH] drm/nouveau: tegra: Initialize mode configuration

2018-11-07 Thread Thierry Reding
On Tue, Nov 06, 2018 at 06:41:22PM +0200, Ville Syrjälä wrote: > On Tue, Nov 06, 2018 at 05:24:15PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > Irrespective of whether or not the device has any usable outputs, the > > modesetting helpers will try to register all the resources su

Re: [PATCH] drm/nouveau: tegra: Initialize mode configuration

2018-11-06 Thread Ville Syrjälä
On Tue, Nov 06, 2018 at 05:24:15PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Irrespective of whether or not the device has any usable outputs, the > modesetting helpers will try to register all the resources such as CRTCs > and planes. Unfortunately, the helpers rely on drm_mode_con

[PATCH] drm/nouveau: tegra: Initialize mode configuration

2018-11-06 Thread Thierry Reding
From: Thierry Reding Irrespective of whether or not the device has any usable outputs, the modesetting helpers will try to register all the resources such as CRTCs and planes. Unfortunately, the helpers rely on drm_mode_config_init() to properly set up internal data structures. Since the Tegra GP