drm/i915/dp: implement get_hw_state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Jul 2012 11:26:27 +0000 (13:26 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 05:58:18 +0000 (07:58 +0200)
commit19d8fe154497bc48e25cbed61066731daca3df43
treecc1c1ab95e56bf7b451568e09be91d8181184e6b
parentf0947c376f6944ade7079df9f84bbc958a893e0f
drm/i915/dp: implement get_hw_state

Also add some macros to make the pipe computation a bit easier.

v2: I've mixed up the CPT and !CPT PORT_TO_PIPE macro variants ...

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c