drm/i915/sdvo: implement get_hw_state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Jul 2012 12:54:00 +0000 (14:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 05:58:47 +0000 (07:58 +0200)
commit4ac41f47f8f6ba1d05b39783ea0819435074ef37
tree3c7b5c174d9576108512ed47f33c1ee458fc70bd
parente403fc941aa94ff6cf598c632e5c02e96eed022e
drm/i915/sdvo: implement get_hw_state

SDVO is the first real special case - we support multiple outputs on
the same encoder and the encoder dpms state isn't the same as when
just disabling the outputs when the encoder is cloned.

Hence we need a real connector get_hw_state function which inquires
the sdvo encoder about its active outputs.

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