From: Dave Airlie Date: Fri, 28 Nov 2008 04:22:24 +0000 (+1000) Subject: drm: move to kref per-master structures. X-Git-Tag: v2.6.29-rc1~566^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c1c2871a6a3a114853ec6836e9035ac1c0c7f7a;p=pandora-kernel.git drm: move to kref per-master structures. This is step one towards having multiple masters sharing a drm device in order to get fast-user-switching to work. It splits out the information associated with the drm master into a separate kref counted structure, and allocates this when a master opens the device node. It also allows the current master to abdicate (say while VT switched), and a new master to take over the hardware. It moves the Intel and radeon drivers to using the sarea from within the new master structures. Signed-off-by: Dave Airlie --- Reading git-diff-tree failed