]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Enable SMU 13.0.0 optimizations when ROCm is active (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Aug 2023 02:54:52 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 20:48:16 +0000 (16:48 -0400)
commitf8cd72728bdcf72d01305c8245b039f0ca9ea088
treead2571555caf8320ff1e3b4bbb928fa9b6d08d24
parent2091ac690301fd7b4f64b08f16c251fbb0d95042
drm/amdgpu: Enable SMU 13.0.0 optimizations when ROCm is active (v2)

When ROCm is active enable additional SMU 13.0.0 optimizations.
This reuses the unused powersave profile on PMFW.

v2: move to the swsmu code since we need both bits active in
    the workload mask.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c