drm/i915: simplify intel_crtc_prepare_encoders
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Jul 2012 08:16:35 +0000 (10:16 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 05:57:03 +0000 (07:57 +0200)
commit821112aa413285ae8a49f787ba01ab30e930ad85
treeb879105ca5f38803e863091f4a034ecdcd8a26f9
parenta6778b3cfd7711951d8973286b783bc061281256
drm/i915: simplify intel_crtc_prepare_encoders

- We don't have the ->get_crtc callback.
- Call intel_encoder->disable directly.

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