drm/dp: Use non-cyclic idr
authorLeo Li <sunpeng.li@amd.com>
Tue, 23 Jul 2019 23:28:00 +0000 (19:28 -0400)
committerHarry Wentland <harry.wentland@amd.com>
Thu, 25 Jul 2019 20:19:19 +0000 (16:19 -0400)
commit3935ec4a1184a32696251d19d87849981f4d189d
treec1b47aafbf38fc8054a1a16ba2346f073cdedb50
parent0005cbda438fa846650ae52ce693eeaff6d16b92
drm/dp: Use non-cyclic idr

In preparation for adding aux devices for DP MST, make the IDR
non-cyclic. That way, hotplug cycling MST devices won't needlessly
increment the minor version index.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723232808.28128-2-sunpeng.li@amd.com
drivers/gpu/drm/drm_dp_aux_dev.c