From: Chris Wilson Date: Mon, 24 Nov 2014 08:03:12 +0000 (+0000) Subject: drm/i915: Only warn the first time we attempt to mmio whilst suspended X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~9^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b387059817fd100cddc5a97118d63e3f3fade74;p=pandora-kernel.git drm/i915: Only warn the first time we attempt to mmio whilst suspended In all likelihood we will do a few hundred errnoneous register operations if we do a single invalid register access whilst the device is suspended. As each instance causes a WARN, this floods the system logs and can make the system unresponsive. The warning was first introduced in commit b2ec142cb0101f298f8e091c7d75b1ec5b809b65 Author: Paulo Zanoni Date: Fri Feb 21 13:52:25 2014 -0300 drm/i915: call assert_device_not_suspended at gen6_force_wake_work and despite the claims the WARN is still encountered in the wild today. Signed-off-by: Chris Wilson Cc: Paulo Zanoni Cc: Imre Deak Cc: stable@vger.kernel.org Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed