[Intel-gfx] [PATCH] drm/i915/rps/tgl+: Remove RPS interrupt support

Srivatsa, Anusha anusha.srivatsa at intel.com
Wed Feb 23 17:53:10 UTC 2022



> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces at lists.freedesktop.org> On Behalf Of José
> Roberto de Souza
> Sent: Friday, February 18, 2022 1:04 PM
> To: intel-gfx at lists.freedesktop.org
> Subject: [Intel-gfx] [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 at intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>

Reviewed-by: Anusha Srivatsa <anusha.srivatsa at intel.com>

> ---
>  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



More information about the Intel-gfx mailing list