[Intel-gfx] [PATCH] drm/i915/tc: fix the reset of ln0

Souza, Jose jose.souza at intel.com
Mon Jun 8 20:53:14 UTC 2020


On Mon, 2020-06-08 at 13:45 -0700, Khaled Almahallawy wrote:
> Setting ln0 similar to ln1

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> 
> Signed-off-by: Khaled Almahallawy <khaled.almahallawy at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
> index 96eaa4b39c68..1c0c369573e7 100644
> --- a/drivers/gpu/drm/i915/display/intel_ddi.c
> +++ b/drivers/gpu/drm/i915/display/intel_ddi.c
> @@ -3025,7 +3025,7 @@ icl_program_mg_dp_mode(struct intel_digital_port *intel_dig_port,
>  		ln1 = intel_de_read(dev_priv, MG_DP_MODE(1, tc_port));
>  	}
>  
> -	ln0 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X1_MODE);
> +	ln0 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X2_MODE);
>  	ln1 &= ~(MG_DP_MODE_CFG_DP_X1_MODE | MG_DP_MODE_CFG_DP_X2_MODE);
>  
>  	/* DPPATC */


More information about the Intel-gfx mailing list