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)
commit21264c638b4f9179655a39436d0340bd0d4ab1de
treebaab19c8497b8fef24bfdf0c77ed0309fa446094
parent99ea7127a30bda29354e1ed3a75d80d5f9cfc2a7
drm/i915: Make DP prepare/commit consistent with DP dpms

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