From: Chris Wilson Date: Thu, 9 Sep 2010 08:41:32 +0000 (+0100) Subject: drm: Only decouple the old_fb from the crtc is we call mode_set* X-Git-Tag: v2.6.36-rc5~31^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356ad3cd616185631235ffb48b3efbf39f9923b3;p=pandora-kernel.git drm: Only decouple the old_fb from the crtc is we call mode_set* Otherwise when disabling the output we switch to the new fb (which is likely NULL) and skip the call to mode_set -- leaking driver private state on the old_fb. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29857 Reported-by: Sitsofe Wheeler Signed-off-by: Chris Wilson Cc: Dave Airlie Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed