From: Chris Wilson Date: Tue, 17 Apr 2012 09:05:38 +0000 (+0100) Subject: drm/i915: Wait for all pending operations to the fb before disabling the pipe X-Git-Tag: v3.2.30~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da67bc3c1da67f269296edc1d217ada6f1339e3;p=pandora-kernel.git drm/i915: Wait for all pending operations to the fb before disabling the pipe During modeset we have to disable the pipe to reconfigure its timings and maybe its size. Userspace may have queued up command buffers that depend upon the pipe running in a certain configuration and so the commands may become confused across the modeset. At the moment, we use a less than satisfactory kick-scanline-waits should the GPU hang during the modeset. It should be more reliable to wait for the pending operations to complete first, even though we still have a window for userspace to submit a broken command buffer during the modeset. Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter (cherry picked from commit 0f91128d88bbb8b0a8e7bb93df2c40680871d45a) Signed-off-by: Timo Aaltonen --- Reading git-diff-tree failed