drm: use ida to allocate connector ids
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 8 Aug 2013 02:34:48 +0000 (22:34 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:40:31 +0000 (10:40 +1000)
commitb21e3afe2357c0f49348a5fb61247012bf8262ec
tree1d1e06b848236bb3b0f766d0b401eecbaee80b1c
parentddcd09d62bd503bfd33291348b7cd8ad32d413fd
drm: use ida to allocate connector ids

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 <imirkin@alum.mit.edu>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_drv.c
include/drm/drm_crtc.h