]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/guc/slpc: Allow GuC SLPC default strategies on MTL+
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 10 Jan 2025 14:46:39 +0000 (09:46 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 13 Jan 2025 16:32:25 +0000 (11:32 -0500)
commit4f7fad42aa1aefc2baca7ef91d955fbe6f133e28
tree4e0d54f43cd6828cf838d31feb9799b9d6ab21c0
parent4e19eabc7e5c03da09a53fc05caecab3aa18ee0d
drm/i915/guc/slpc: Allow GuC SLPC default strategies on MTL+

The Balancer and DCC strategies were left off on a fear that
these strategies would conflict with the i915's waitboost.

However, on MTL and Beyond these strategies are only active in
certain conditions where the system is TDP limited.
So, they don't conflict, but help the
waitboost by guaranteeing a bit more of GT frequency.

Without these strategies we were likely leaving some performance
behind on some scenarios.

With this change in place, the enabling/disabling of DCC and Balancer
will now be chosen by GuC, on a platform/GT basis.

v2: - Fix typos and be clear on GuC decision on platform basis (Vinay)
    - Limit change to MTL and beyond, where GuC started to take
      TDP limit into consideration.
v3: Fix compilation. Actually amend the changes...

Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250110144640.1032250-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c