]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Drop locking cargo-cult from drm_mode_config_init
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 23:08:05 +0000 (00:08 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Dec 2016 13:18:12 +0000 (14:18 +0100)
commit15092c7a3cddb495649363a403f242edd2aaa6a5
treea558af6fb86fe4aab72e9f81d338ffc3320c9eb2
parent2babdc850cc4f58753b7fb5332a57b513e3313cb
drm: Drop locking cargo-cult from drm_mode_config_init

This is single-threaded setup code, no need for locks. And anyway,
all properties need to be set up before the driver is registered
anyway, they can't be hot-added.

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213230814.19598-5-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_mode_config.c