diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 11:34:39 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-18 02:27:29 +0100 |
commit | 8a5a80081a1cc8b4f7bdf777fde3d955a020481c (patch) | |
tree | 9e56b5cd9092dfdf209c8355f82a85296778ae1d /init | |
parent | drm/agpsupport: use kzalloc instead of kmalloc/memset (diff) | |
download | linux-8a5a80081a1cc8b4f7bdf777fde3d955a020481c.tar.xz linux-8a5a80081a1cc8b4f7bdf777fde3d955a020481c.zip |
drm: remove global_mutex locking around agp_init
David Herrmann dutifully moved this locking along when moving the
agp_init call out of the generic drm_dev_register into the pci
specific load helpers.
But afaict there's no need and the reason for that locking has been
purely a historical accident - we need the lock around the driver dev
node registration to paper over the midlayer init races, and the agp
init simply ended up in there. The real fix for all this is of course
to delay the dev (and sysfs/debugfs) interface registration until
everything is fully set up.
Until then stop the cargo-cult locking from spreading and remove the
locking.
Cc: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions