From: Paulo Zanoni Date: Tue, 1 Apr 2014 18:37:16 +0000 (-0300) Subject: drm/i915: check if IIR is still zero at postinstall on Gen5+ X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~63^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337ba0175f49b2d3a0bcc893f97f539bda831007;p=pandora-kernel.git drm/i915: check if IIR is still zero at postinstall on Gen5+ It should already be masked and disabled and zeroed at the preinstall and uninstall stages. Also, the current code just writes to IIR once, and this is not a guarantee that it will be cleared, so it's wrong anyway. The whole reason for the paranoia is that we're going to start calling the IRQ preinstall/postinstall/uninstall from the runtime PM callbacks, so we need to make sure everything is behaving as expected. v2: - Change the original DRM_ERROR to WARN and clear IIR in case it's not zero (Ben). - Improve commit message (Daniel). Signed-off-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed