[Intel-gfx] [PATCH 6/9] drm/i915: reset intel_encoder->type when DP or HDMI is detected

Damien Lespiau damien.lespiau at intel.com
Tue Oct 30 13:13:55 CET 2012


On Fri, Oct 26, 2012 at 10:05 PM, Paulo Zanoni <przanoni at gmail.com> wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> When intel_hdmi_detect detects a monitor, set intel_encoder->type with
> INTEL_OUTPUT_HDMI. Same for DP.
>
> This should not break the current code because these variables never
> change. This will be used after we create the DDI encoder because it
> will have both DP and HDMI connectors.
>
> We won't support eDP+HDMI on the same port, so if an encoder is eDP we
> should expect it to always remain eDP and never change.
>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien



More information about the Intel-gfx mailing list