From: Jesse Barnes Date: Mon, 19 Jan 2009 07:21:45 +0000 (+1000) Subject: drm: create mode_config idr lock X-Git-Tag: v2.6.29-rc3~32^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2563c2e42fc67b0976aeb70e9f3faf1c1196e8;p=pandora-kernel.git drm: create mode_config idr lock Create a separate mode_config IDR lock for simplicity. The core DRM config structures (connector, mode, etc. lists) are still protected by the mode_config mutex, but the CRTC IDR (used for the various identifier IDs) is now protected by the mode_config idr_mutex. Simplifies the locking a bit and removes a warning. All objects are protected by the config mutex, we may in the future, split the object further to have reference counts. Signed-off-by: Jesse Barnes Signed-off-by: Dave Airlie --- Reading git-diff-tree failed