drm/i915: check TRANSCODER_EDP on intel_modeset_setup_hw_state
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 24 Oct 2012 18:09:25 +0000 (16:09 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 08:24:47 +0000 (10:24 +0200)
commite28d54cbf97ca1f8cd49a9756e57ed614d64368d
treeaf2a33cde11d7bf2197bc3312d132677a747ca75
parentad80a810ec3ffa96450ce3b40128d55fede7a825
drm/i915: check TRANSCODER_EDP on intel_modeset_setup_hw_state

We need to check if any of the pipes is using TRANSCODER_EDP.

V2: DDI_BUF_CTL was renamed, so fix the usage here.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c