]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Revert "drm/amd/display: pause the workload setting in dm"
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jan 2026 23:10:04 +0000 (18:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2026 17:10:44 +0000 (12:10 -0500)
commitf377ea0561c9576cdb7e3890bcf6b8168d455464
treefbc7cb53bf0270ffcd5d5d450ea4bb9072860d9c
parent095ca815174e51fc0049771712d5455cabd7231e
Revert "drm/amd/display: pause the workload setting in dm"

This reverts commit bc6d54ac7e7436721a19443265f971f890c13cc5.

The workload profile needs to be in the default state when
the dc idle optimizaion state is entered.  However, when
jobs come in for video or GFX or compute, the profile may
be set to a non-default profile resulting in the dc idle
optimizations not taking affect and resulting in higher
power usage.  As such we need to pause the workload profile
changes during this transition.  When this patch was originally
committed, it caused a regression with a Dell U3224KB display,
but no other problems were reported at the time.  When it
was reapplied (this patch) to address increased power usage, it
seems to have caused additional regressions.  This change seems
to have a number of side affects (audio issues, stuttering,
etc.).  I suspect the pause should only happen when all displays
are off or in static screen mode, but I think this call site
gets called more often than that which results in idle state
entry more often than intended.  For now revert.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4894
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4717
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4725
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4517
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4806
Cc: Yang Wang <kevinyang.wang@amd.com>
Cc: Kenneth Feng <kenneth.feng@amd.com>
Cc: Roman Li <Roman.Li@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1412482b714358ffa30d38fd3dd0b05795163648)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c