• Daniel Vetter's avatar
    drm/i915: Accurately initialize fifo underrun state on gmch platforms · c5ab3bc0
    Daniel Vetter authored
    We don't have hardware based disable bits on gmch platforms, so need
    to block spurious underrun reports in software. Which means that we
    _must_ start out with fifo underrun reporting disabled everywhere.
    
    This is in big contrast to ilk/hsw/cpt where there's only _one_
    disable bit for all platforms and hence we must allow underrun
    reporting on disabled pipes. Otherwise nothing really works,
    especially the CRC support since that's key'ed off the same irq
    disable bit.
    
    This allows us to ditch the fifo underrun reporting hack from the vlv
    runtime pm code and unexport the internal function from i915_irq.c
    again. Yay!
    
    v2: Keep the display irq disabling, spotted by Imre.
    
    Cc: Imre Deak <imre.deak@intel.com>
    Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    c5ab3bc0
intel_pm.c 178 KB