Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
On Mon, May 20, 2019 at 08:41:09PM +0300, Imre Deak wrote: > We allowed modesetting an unregistered connector only in the case the > mode is getting disabled on the connector. > > The reason for this check was the lack of proper refcounting for the > backing memory objects. That problem has been s

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
On Mon, May 20, 2019 at 10:59:35PM +0200, Daniel Vetter wrote: > On Mon, May 20, 2019 at 10:51 PM Imre Deak wrote: > > > > On Mon, May 20, 2019 at 10:15:20PM +0200, Daniel Vetter wrote: > > > On Mon, May 20, 2019 at 10:06 PM Imre Deak wrote: > > > > On Mon, May 20, 2019 at 09:23:00PM +0200, Danie

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Daniel Vetter
On Mon, May 20, 2019 at 10:51 PM Imre Deak wrote: > > On Mon, May 20, 2019 at 10:15:20PM +0200, Daniel Vetter wrote: > > On Mon, May 20, 2019 at 10:06 PM Imre Deak wrote: > > > On Mon, May 20, 2019 at 09:23:00PM +0200, Daniel Vetter wrote: > > > > On Mon, May 20, 2019 at 10:09:24PM +0300, Imre De

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
On Mon, May 20, 2019 at 10:15:20PM +0200, Daniel Vetter wrote: > On Mon, May 20, 2019 at 10:06 PM Imre Deak wrote: > > On Mon, May 20, 2019 at 09:23:00PM +0200, Daniel Vetter wrote: > > > On Mon, May 20, 2019 at 10:09:24PM +0300, Imre Deak wrote: > > > > On Mon, May 20, 2019 at 08:37:46PM +0200, D

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Daniel Vetter
On Mon, May 20, 2019 at 10:06 PM Imre Deak wrote: > On Mon, May 20, 2019 at 09:23:00PM +0200, Daniel Vetter wrote: > > On Mon, May 20, 2019 at 10:09:24PM +0300, Imre Deak wrote: > > > On Mon, May 20, 2019 at 08:37:46PM +0200, Daniel Vetter wrote: > > > > On Mon, May 20, 2019 at 08:41:09PM +0300, I

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
On Mon, May 20, 2019 at 09:23:00PM +0200, Daniel Vetter wrote: > On Mon, May 20, 2019 at 10:09:24PM +0300, Imre Deak wrote: > > On Mon, May 20, 2019 at 08:37:46PM +0200, Daniel Vetter wrote: > > > On Mon, May 20, 2019 at 08:41:09PM +0300, Imre Deak wrote: > > > > We allowed modesetting an unregiste

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Daniel Vetter
On Mon, May 20, 2019 at 10:09:24PM +0300, Imre Deak wrote: > On Mon, May 20, 2019 at 08:37:46PM +0200, Daniel Vetter wrote: > > On Mon, May 20, 2019 at 08:41:09PM +0300, Imre Deak wrote: > > > We allowed modesetting an unregistered connector only in the case the > > > mode is getting disabled on th

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
On Mon, May 20, 2019 at 08:37:46PM +0200, Daniel Vetter wrote: > On Mon, May 20, 2019 at 08:41:09PM +0300, Imre Deak wrote: > > We allowed modesetting an unregistered connector only in the case the > > mode is getting disabled on the connector. > > > > The reason for this check was the lack of pro

Re: [Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Daniel Vetter
On Mon, May 20, 2019 at 08:41:09PM +0300, Imre Deak wrote: > We allowed modesetting an unregistered connector only in the case the > mode is getting disabled on the connector. > > The reason for this check was the lack of proper refcounting for the > backing memory objects. That problem has been s

[Intel-gfx] [PATCH] drm: Allow modeset on unregisted connectors unconditionally

2019-05-20 Thread Imre Deak
We allowed modesetting an unregistered connector only in the case the mode is getting disabled on the connector. The reason for this check was the lack of proper refcounting for the backing memory objects. That problem has been solved meanwhile so there is no reason any more to reject the modesett