From: David Herrmann Date: Wed, 2 Oct 2013 09:23:34 +0000 (+0200) Subject: drm: add drm_dev_alloc() helper X-Git-Tag: v3.13-rc1~76^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bb72532ac260a2d3982b40bdd4c936d779d0d16;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed