commit | 1bb72532ac260a2d3982b40bdd4c936d779d0d16 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Wed Oct 02 11:23:34 2013 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Wed Oct 09 14:38:15 2013 +1000 |
tree | f0ec6e8d7d68fe8dff496f0226ac3837fb3aac3d | |
parent | 16eb5f4379b2097438a224381be3b4d9e56ac979 [diff] |
drm: add drm_dev_alloc() helper Instead of managing device allocation+initialization in each bus-driver, we should do that in a central place. drm_fill_in_dev() already does most of it, but also requires the global drm lock for partial AGP device registration. Split both apart so we have a clean device initialization/allocation phase, and a registration phase. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>