drm/i915: Create helper functions to determine eDP power state
authorKeith Packard <keithp@keithp.com>
Thu, 29 Sep 2011 22:53:27 +0000 (15:53 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 6 Oct 2011 15:57:01 +0000 (08:57 -0700)
commitebf33b18816d9755087474cda7761e5944dd56c1
tree4291cb1bc15ec585efd0c11c4c5a78944705266f
parent7d639f35b7f6b218f7b58918fb6b1f028f869894
drm/i915: Create helper functions to determine eDP power state

We need to check eDP VDD force and panel on in several places, so
create some simple helper functions to avoid duplicating code.

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