From: Rob Clark Date: Thu, 20 Nov 2014 20:40:36 +0000 (-0500) Subject: drm/atomic: shutdown *current* encoder X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46df9adb2e7709e56ab8aacaff2fc997a6d17239;p=pandora-kernel.git drm/atomic: shutdown *current* encoder In disable_outputs() we need to shut down the outgoing encoder, not the incoming one (we have already swapped-state at this point). Without this, we end up telling the driver to crtc->dpms(OFF) without first encoder->dpms(OFF), and that makes some hw quite unhappy. v2: missing WARN_ON() hunk and comment Reviewed-by: Daniel Vetter Signed-off-by: Rob Clark --- Reading git-diff-tree failed