drm/i915: get the bridge device once.
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2009 01:43:41 +0000 (11:43 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Sep 2009 01:45:15 +0000 (11:45 +1000)
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 <airlied@redhat.com>

No differences found