<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">
<div>For a virtualized boot, it is possible for port A to be tied to DP. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Min He any additional comment? <br>
<div class="gmail_extra" dir="auto"><br>
<div class="gmail_quote">On Jun 14, 2017 9:38 PM, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font size="2"><span style="font-size:10pt"></span></font>
<div>On Wed, Jun 14, 2017 at 01:47:30PM +0800, Mustamin B Mustaffa wrote:<br>
> From: "Anuar, Nuhairi" <nuhairi.anuar@intel.com><br>
> <br>
> In GVT guest, when port A is DP, i915 will force it as an EDP panel,<br>
> which<br>
> will cause DP-1 not working in GVT guest.<br>
> This patch fixed this issue by check intel_vgpu_active() in<br>
> intel_ddi_compute_config().<br>
> <br>
> Signed-off-by: Min He <min.he@intel.com><br>
> Signed-off-by: Nuhairi Anuar <nuhairi.anuar@intel.com><br>
> ---<br>
> drivers/gpu/drm/i915/intel_ddi.c | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> <br>
> diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c<br>
> index 66b367d..1110cbc 100644<br>
> --- a/drivers/gpu/drm/i915/intel_ddi.c<br>
> +++ b/drivers/gpu/drm/i915/intel_ddi.c<br>
> @@ -2069,7 +2069,7 @@ static bool intel_ddi_compute_config(struct intel_encoder *encoder,<br>
> <br>
> WARN(type == INTEL_OUTPUT_UNKNOWN, "compute_config() on unknown output!\n");<br>
> <br>
> - if (port == PORT_A)<br>
> + if (port == PORT_A && !intel_vgpu_active(dev_priv))<br>
> pipe_config->cpu_transcoder = TRANSCODER_EDP;<br>
<br>
And why exactly are you trying to register DP on port A?<br>
<br>
> <br>
> if (type == INTEL_OUTPUT_HDMI)<br>
> -- <br>
> 1.9.1<br>
> <br>
> _______________________________________________<br>
> Intel-gfx mailing list<br>
> Intel-gfx@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/intel-gfx">https://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
<br>
-- <br>
Ville Syrjälä<br>
Intel OTC<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>