[PATCH] drm: rcar-du: Perform initialization/cleanup at probe/remove time

2015-11-26 Thread Laurent Pinchart
Hi Daniel, On Wednesday 21 October 2015 17:39:45 Daniel Vetter wrote: > On Wed, Oct 21, 2015 at 06:16:08PM +0300, Laurent Pinchart wrote: > > On Tuesday 20 October 2015 09:32:13 Daniel Vetter wrote: > >> On Tue, Oct 20, 2015 at 01:51:54AM +0300, Laurent Pinchart wrote: > >>> The drm driver .load()

[PATCH] drm: rcar-du: Perform initialization/cleanup at probe/remove time

2015-10-21 Thread Laurent Pinchart
Hi Daniel, On Tuesday 20 October 2015 09:32:13 Daniel Vetter wrote: > On Tue, Oct 20, 2015 at 01:51:54AM +0300, Laurent Pinchart wrote: > > The drm driver .load() operation is prone to race conditions as it > > initializes the driver after registering the device nodes. Its usage is > > deprecated,

[PATCH] drm: rcar-du: Perform initialization/cleanup at probe/remove time

2015-10-21 Thread Daniel Vetter
On Wed, Oct 21, 2015 at 06:16:08PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Tuesday 20 October 2015 09:32:13 Daniel Vetter wrote: > > On Tue, Oct 20, 2015 at 01:51:54AM +0300, Laurent Pinchart wrote: > > > The drm driver .load() operation is prone to race conditions as it > > > initializ

[PATCH] drm: rcar-du: Perform initialization/cleanup at probe/remove time

2015-10-20 Thread Daniel Vetter
On Tue, Oct 20, 2015 at 01:51:54AM +0300, Laurent Pinchart wrote: > The drm driver .load() operation is prone to race conditions as it > initializes the driver after registering the device nodes. Its usage is > deprecated, inline it in the probe function and call drm_dev_alloc() and > drm_dev_regis

[PATCH] drm: rcar-du: Perform initialization/cleanup at probe/remove time

2015-10-20 Thread Laurent Pinchart
The drm driver .load() operation is prone to race conditions as it initializes the driver after registering the device nodes. Its usage is deprecated, inline it in the probe function and call drm_dev_alloc() and drm_dev_register() explicitly. For consistency inline the .unload() handler in the rem