From: Chris Wilson Date: Wed, 9 May 2012 20:45:43 +0000 (+0100) Subject: drm/i915: Avoid a double-read of PCH_IIR during interrupt handling X-Git-Tag: v3.2.19~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4599f3bbffe162f91ebeea6c610af549a34348b;p=pandora-kernel.git drm/i915: Avoid a double-read of PCH_IIR during interrupt handling commit 9adab8b5a7fde248504f484e197589f3e3c922e2 upstream. Currently the code re-reads PCH_IIR during the hotplug interrupt processing. Not only is this a wasted read, but introduces a potential for handling a spurious interrupt as we then may not clear all the interrupts processed (since the re-read IIR may contains more interrupts asserted than we clear using the result of the original read). Signed-off-by: Chris Wilson Cc: Jesse Barnes Signed-off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed