From: Dave Airlie Date: Tue, 4 Aug 2009 01:43:41 +0000 (+1000) Subject: drm/i915: get the bridge device once. X-Git-Tag: v2.6.32-rc1~52^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2a4c3fdc8e82fe82a25d800e85c1ea06b74372;p=pandora-kernel.git drm/i915: get the bridge device once. The driver gets the bridge device in a number of places, upcoming vga arb code paths need the bridge device, however they need it in under a lock, and the pci lookup can allocate memory. So clean this code up before then and get the bridge once for the driver lifetime. Signed-off-by: Dave Airlie --- Reading git-diff-tree failed