drm/i915: don't read LVDS regs at compute_config time
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 4 Jul 2014 16:38:36 +0000 (13:38 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 20:17:57 +0000 (22:17 +0200)
commit1f835a77ac6061f346da2ce3f2c377ab2b5693c3
tree69d130b8bf1f39218af13a1b52e4c69916bfd5bd
parent34a6c70f099ef33e04e7436ee962293beead7b90
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 <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lvds.c
This page took 0.025872 seconds and 5 git commands to generate.