From: Paulo Zanoni Date: Tue, 1 Apr 2014 18:37:17 +0000 (-0300) Subject: drm/i915: fix SERR_INT init/reset code X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~63^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=105b122eff8f24de256fdb32e27209af8405ab14;p=pandora-kernel.git drm/i915: fix SERR_INT init/reset code The SERR_INT register is very similar to the other IIR registers, so let's zero it at preinstall/uninstall and WARN for a non-zero value at postinstall, just like we do with the other IIR registers. For this one, there's no need to double-clear since it can't store more than one interrupt. v2: - Remove the is_zero assertion (Ben). Reviewed-by: Ben Widawsky Signed-off-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed