Skip to content
Commit ec2a4c3f authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
parent f1938cd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment