drm/i915: don't touch the VDD when disabling the panel
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 6 Dec 2013 19:32:41 +0000 (17:32 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 22:51:41 +0000 (23:51 +0100)
commitdff392dbd258381a6c3164f38420593f2d291e3b
tree380e9cd2355602994d8d2a9d250ae739fce05c49
parent9b33600d52fab54df1aa82ea0d70c113060c293a
drm/i915: don't touch the VDD when disabling the panel

I don't see a reason to touch VDD when we're disabling the panel:
since the panel is enabled, we don't need VDD. This saves a few sleep
calls from the vdd_on and vdd_off functions at every modeset.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69693
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Fix the patch mangle wiggle has done ... Spotted by Paulo.
Also drop the runtime_pm_put call which now has to go due to different
patch ordering. Also from Paul.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c