• Daniel Vetter's avatar
    drm/i915: wire up gmbus irq handler · 515ac2bb
    Daniel Vetter authored
    Only enables the interrupt and puts a irq handler into place, doesn't
    do anything yet.
    
    Unfortunately there's no gmbus interrupt support for gen2/3 (safe for
    pnv, but there the irq is marked as "Test mode").
    
    v2: Wire up the irq handler for vlv and gen4 properly.
    
    v3: i915_enable_pipestat expects the mask bit, not the status bits ... and
    for added hilarity those are rather inconsistently named.
    Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    515ac2bb
i915_irq.c 75.9 KB