OSDN Git Service

drm/i915/rps/tgl+: Remove RPS interrupt support
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 18 Feb 2022 21:03:30 +0000 (13:03 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 23 Feb 2022 18:25:16 +0000 (10:25 -0800)
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@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218210330.48653-1-jose.souza@intel.com
drivers/gpu/drm/i915/gt/intel_rps.c

index 54e7df7..ec06cc0 100644 (file)
@@ -1484,7 +1484,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 */ {}