[PATCH] drm: use ida to allocate connector ids

2013-07-30 Thread Ilia Mirkin
This makes it so that reloading a module does not cause all the connector ids to change, which are user-visible and sometimes used for configuration. Signed-off-by: Ilia Mirkin --- Only mild testing... reloaded nouveau a few times, all the connectors kept their original ids. drivers/gpu/drm/dr

[PATCH] drm: use ida to allocate connector ids

2013-07-30 Thread Ilia Mirkin
This makes it so that reloading a module does not cause all the connector ids to change, which are user-visible and sometimes used for configuration. Signed-off-by: Ilia Mirkin --- Only mild testing... reloaded nouveau a few times, all the connectors kept their original ids. drivers/gpu/drm/dr