[PATCH 11/12] drm: make minor->index available early

2014-07-24 Thread Daniel Vetter
On Thu, Jul 24, 2014 at 12:16:59PM +0200, David Herrmann wrote: > Hi > > On Thu, Jul 24, 2014 at 12:03 PM, Daniel Vetter wrote: > > On Wed, Jul 23, 2014 at 05:26:46PM +0200, David Herrmann wrote: > >> Instead of allocating the minor-index during registration, we now do this > >> during allocation

[PATCH 11/12] drm: make minor->index available early

2014-07-24 Thread David Herrmann
Hi On Thu, Jul 24, 2014 at 12:03 PM, Daniel Vetter wrote: > On Wed, Jul 23, 2014 at 05:26:46PM +0200, David Herrmann wrote: >> Instead of allocating the minor-index during registration, we now do this >> during allocation. This way, debug-messages between minor-allocation and >> minor-registratio

[PATCH 11/12] drm: make minor->index available early

2014-07-24 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 05:26:46PM +0200, David Herrmann wrote: > Instead of allocating the minor-index during registration, we now do this > during allocation. This way, debug-messages between minor-allocation and > minor-registration will now use the correct minor instead of 0. Same is > done for

[PATCH 11/12] drm: make minor->index available early

2014-07-23 Thread David Herrmann
Instead of allocating the minor-index during registration, we now do this during allocation. This way, debug-messages between minor-allocation and minor-registration will now use the correct minor instead of 0. Same is done for unregistration vs. free, so debug-messages between device-shutdown and