commit | ec2a4c3fdc8e82fe82a25d800e85c1ea06b74372 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Tue Aug 04 11:43:41 2009 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Tue Sep 08 11:45:15 2009 +1000 |
tree | b49f3ebe3e356fa8d17f15e9a5421851cb90024b | |
parent | f1938cd6e900a85de64184e46d841efc9efd3484 [diff] |
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 <airlied@redhat.com>