[Intel-gfx] [PATCH v2] drm/i915: Set up SDVO encoder type only at detect
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 15 21:19:08 CEST 2014
On Tue, Apr 15, 2014 at 09:14:13PM +0200, Egbert Eich wrote:
> Depending on the SDVO output_flags SDVO may have multiple connectors.
> These are all initialized in intel_sdvo_output_setup(). The connector
> that is initialized later will override the encoder_type that has been
> set up by an earlier connector type initialization. Eventually the
> one that comes last wins.
> Eventually when intel_sdvo_detect() is called the active connector is
> determined.
> Delay encoder type initialization until the active connector is known
> and set it to the type that corresponds to this connector.
>
> v2: Remove explicit encoder type initialization to
> DRM_MODE_ENCODER_NONE in the SDVO connector setup functions
> as suggested by Chris Wilson <chris at chris-wilson.co.uk>.
>
> Signed-off-by: Egbert Eich <eich at suse.de>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list