drm/i915: call drm_encoder_init first
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Sep 2010 11:03:59 +0000 (12:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Sep 2010 15:45:25 +0000 (16:45 +0100)
commit373a3cf744c774478f44921c50011b896ab08f9d
tree78725e96b9d17190c05baa50a96bf1afdcab0e7f
parent2f551c84563df2bf144a819993b2d729c66583ee
drm/i915: call drm_encoder_init first

Later initialisation of the encoder often requires that
drm_encoder_init() has already been called, for instance, initialiasing
the DDC buses.

Yet another recent regression, as 819f3fb7 depended upon these fixes
which I missed when cherry-picking.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_sdvo.c