From: Takashi Iwai Date: Sat, 11 Aug 2012 06:56:42 +0000 (+0200) Subject: drm/i915: Fix blank panel at reopening lid X-Git-Tag: v3.6-rc2~9^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=770c12312ad617172b1a65b911d3e6564fc5aca8;p=pandora-kernel.git drm/i915: Fix blank panel at reopening lid When you reopen the lid on a laptop with PCH, the panel suddenly goes blank sometimes. It seems because BLC_PWM_CPU_CTL register is cleared to zero when BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1 registers are enabled. This patch fixes the problem by moving the call of the function setting BLC_PWM_CPU_CTL after enabling other two registers. Reported-and-tested-by: Hugh Dickins Signed-off-by: Takashi Iwai Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed