drm/i915: Make DP prepare/commit consistent with DP dpms
authorKeith Packard <keithp@keithp.com>
Wed, 2 Nov 2011 03:25:21 +0000 (20:25 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Nov 2011 04:26:26 +0000 (20:26 -0800)
Make sure the sequence of operations in all three functions makes
sense:

 1) The backlight must be off unless the screen is running
 2) The link must be running to turn the eDP panel on/off
 3) The CPU eDP PLL must be running until everything is off

Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_dp.c

Simple merge