Re: [PATCH] drm/i915/rps/tgl+: Remove RPS interrupt support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of José
> Roberto de Souza
> Sent: Friday, February 18, 2022 1:04 PM
> To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> Subject:  [PATCH] drm/i915/rps/tgl+: Remove RPS interrupt
> support
> 
> TGL+ and newer platforms don't support RPS up and low interruption
> limits.
> It is not used for broadwell and newer plaforms that supports execlist but
> here making sure that it is explicit not used even in debug scenarios.
> 
> BSpec: 33301
> BSpec: 52069
> BSpec: 9520
> HSD: 1405911647
> Cc: Vinay Belgaumkar <vinay.belgaumkar@xxxxxxxxx>
> Signed-off-by: José Roberto de Souza <jose.souza@xxxxxxxxx>

Reviewed-by: Anusha Srivatsa <anusha.srivatsa@xxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/gt/intel_rps.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_rps.c
> b/drivers/gpu/drm/i915/gt/intel_rps.c
> index fd95449ed46da..c8124101aada2 100644
> --- a/drivers/gpu/drm/i915/gt/intel_rps.c
> +++ b/drivers/gpu/drm/i915/gt/intel_rps.c
> @@ -1486,7 +1486,7 @@ void intel_rps_enable(struct intel_rps *rps)
> 
>  	if (has_busy_stats(rps))
>  		intel_rps_set_timer(rps);
> -	else if (GRAPHICS_VER(i915) >= 6)
> +	else if (GRAPHICS_VER(i915) >= 6 && GRAPHICS_VER(i915) <= 11)
>  		intel_rps_set_interrupts(rps);
>  	else
>  		/* Ironlake currently uses intel_ips.ko */ {}
> --
> 2.35.1





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux