]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/lnl: Enable GuC SLPC DCC task
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 15 Jan 2025 14:50:53 +0000 (09:50 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 15 Jan 2025 19:12:52 +0000 (14:12 -0500)
commit50554bf3e56dd0c78ef1eedb685d0ab36c9c9987
tree4289d9c73aa8e9d692bbbc2af3c0c0e0ec609a32
parentaaab5404b16f19b06c7d88787d7ba18d91eeb854
drm/xe/lnl: Enable GuC SLPC DCC task

Enable DCC (Duty Cycle Control) in Lunar Lake.

DCC is the SLPC task that tries to keep
the GT from operating inefficiently when thermally constrained.

Although the recommendation is to enable it, LNL GuC is leaving
it disabled by default on LNL.

It would minimize the GT frequency oscillation on throttled
scenarios, which could potentially reduce latencies.

v2: Move set_policies call after wait for running state, so
    we ensure it is not overwritten. (Vinay)
v3: Fix English in the commit message (Jonathan)
v4: Also set disable to 0 so DCC can really get into effect.
v5: Avoid lnl_ prefix (Vinay)
v6: Finish renaming...

Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> #v3
Link: https://patchwork.freedesktop.org/patch/msgid/20250115145053.1142023-2-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc_pc.c