From: Daniel Vetter Date: Wed, 14 May 2014 13:40:34 +0000 (+0200) Subject: drm/i915: Accurately initialize fifo underrun state on gmch platforms X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ab3bc07e252a32b170ab4797142ef117c367a0;p=pandora-kernel.git drm/i915: Accurately initialize fifo underrun state on gmch platforms 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 Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed