[Intel-gfx] [PATCH 2/3] drm/i915: Replace magic number with macro defined by drm

Pandiyan, Dhinakaran dhinakaran.pandiyan at intel.com
Sat Feb 24 01:53:23 UTC 2018


On Tue, 2018-02-20 at 18:18 -0800, José Roberto de Souza wrote:
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_psr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
> index 71801a25a2b3..3fc1bdd65b14 100644
> --- a/drivers/gpu/drm/i915/intel_psr.c
> +++ b/drivers/gpu/drm/i915/intel_psr.c
> @@ -90,7 +90,7 @@ static void hsw_psr_setup_vsc(struct intel_dp *intel_dp,
>  
>  	memset(&psr_vsc, 0, sizeof(psr_vsc));
>  	psr_vsc.sdp_header.HB0 = 0;
> -	psr_vsc.sdp_header.HB1 = 0x7;
> +	psr_vsc.sdp_header.HB1 = DP_SDP_VSC;
>  

Do you mind rebasing this without Patch 1?


>  	if (dev_priv->psr.psr2_support) {
>  		/* Prepare VSC Header for SU as per EDP 1.4 spec, Table 6.11 */


More information about the Intel-gfx mailing list