[Intel-gfx] [PATCH] drm/i915/tgl: Fix typo during output setup

Lucas De Marchi lucas.demarchi at intel.com
Wed Nov 4 01:12:31 UTC 2020


On Wed, Nov 04, 2020 at 03:00:00AM +0200, Imre Deak wrote:
>Fix a typo that led to some MST short pulse event handling issue (the
>short pulse event was handled for both encoder instances, each having
>its own state).
>
>Fixes: 1d8ca002456b6 ("drm/i915: Add PORT_TCn aliases to enum port")
>Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Signed-off-by: Imre Deak <imre.deak at intel.com>
>---
> drivers/gpu/drm/i915/display/intel_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
>index cddbda5303ff..19a4d81558c5 100644
>--- a/drivers/gpu/drm/i915/display/intel_display.c
>+++ b/drivers/gpu/drm/i915/display/intel_display.c
>@@ -17223,7 +17223,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)
> 		intel_ddi_init(dev_priv, PORT_B);
> 		intel_ddi_init(dev_priv, PORT_TC1);
> 		intel_ddi_init(dev_priv, PORT_TC2);
>-		intel_ddi_init(dev_priv, PORT_TC2);
>+		intel_ddi_init(dev_priv, PORT_TC3);

uggh... Thanks!


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

> 		intel_ddi_init(dev_priv, PORT_TC4);
> 		intel_ddi_init(dev_priv, PORT_TC5);
> 		intel_ddi_init(dev_priv, PORT_TC6);
>-- 
>2.25.1
>


More information about the Intel-gfx mailing list