From: Chris Wilson Date: Sun, 8 Aug 2010 10:53:53 +0000 (+0100) Subject: drm/i915: Clear scanline waits after disabling the pipe. X-Git-Tag: v2.6.37-rc1~92^2~28^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b60e5cb707aa1d44fd01680296a2caf45dd6fae;p=pandora-kernel.git drm/i915: Clear scanline waits after disabling the pipe. If we disable the pipe and the GPU is currently waiting on a scanline WAIT_FOR_EVENT, the GPU will hang. Fortunately, there is a magic bit which we can write on i915+ to break this wait after disabling the pipe. References: Bug 29252 - [Arrandale] Hung WAIT_FOR_EVENT when running rss-glx-skyrocket https://bugs.freedesktop.org/show_bug.cgi?id=29252 Bug 28964 - [i965gm] GPU infinite MI_WAIT_FOR_EVENT while watching video in Totem https://bugs.freedesktop.org/show_bug.cgi?id=28964 and many others. Signed-off-by: Chris Wilson Cc: Jesse Barnes --- Reading git-diff-tree failed