drm/i915: Move the lvds OpRegion lid detection code to panel and reuse for eDP
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Feb 2011 10:29:38 +0000 (10:29 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Feb 2011 09:41:07 +0000 (09:41 +0000)
commitfe16d949b45036d9f80e20e07bde1ddacc930b10
tree16c647e87ed85b48a33f28fdbac1fd0e08a1e4ac
parent47a05eca72991039e788b25232061f9c9df9ec23
drm/i915: Move the lvds OpRegion lid detection code to panel and reuse for eDP

Share the lid detection code for the all panels for consistent behaviour
and a single place to add the eventual quirks for crap hardware.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_panel.c