drm/amdgpu: disable workload profile switching when OD is enabled
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 27 May 2025 14:13:31 +0000 (10:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jun 2025 19:04:24 +0000 (15:04 -0400)
commit5cccf10f652122a17b40df9d672ccf2ed69cd82f
treee793e4ce6d9f9277f5af2657b87e1ab3f3e1ec7d
parentd26625d034fb8d596f0488472969493fa02d03f3
drm/amdgpu: disable workload profile switching when OD is enabled

Users have reported that they have to reduce the level of undervolting
to acheive stability when dynamic workload profiles are enabled on
GC 10.3.x. Disable dynamic workload profiles if the user has enabled
OD.

Fixes: b9467983b774 ("drm/amdgpu: add dynamic workload profile switching for gfx10")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4262
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.15.x
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h