From: Paulo Zanoni Date: Fri, 4 Jul 2014 16:38:36 +0000 (-0300) Subject: drm/i915: don't read LVDS regs at compute_config time X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~49^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f835a77ac6061f346da2ce3f2c377ab2b5693c3;p=pandora-kernel.git drm/i915: don't read LVDS regs at compute_config time We may reach this point while the machine is still runtime suspended, so we'll hit a WARN. The other encoders also don't touch registers at this point, so instead of waking the machine up, write some code to keep the register always at the same state, including after we runtime suspend/resume. Testcase: igt/pm_rpm Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80463 Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed