From: Chris Wilson Date: Tue, 17 Apr 2012 14:08:19 +0000 (+0100) Subject: drm/i915: intel_update_fbc() requires struct_mutex, so no longer atomic X-Git-Tag: v3.5-rc1~83^2~81^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b8e6ed02a5b06435a6b1c7ddff08c11f3e2d5d1;p=pandora-kernel.git drm/i915: intel_update_fbc() requires struct_mutex, so no longer atomic As we need to manipulate our device structure and allocate queue a task, it is no longer a simple atomic operation and cannot be performed along the atomic modeset paths. Instead make sure that we disable FBC (which must be therefore kept as a set of simple register writes) when performing the atomic modeset and leave the heavy-weight intel_update_fbc() for the normal modeset. Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed