• Dave Airlie's avatar
    drm/i915: get the bridge device once. · ec2a4c3f
    Dave Airlie authored
    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>
    ec2a4c3f
i915_dma.c 37.9 KB