]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Enable idle workqueue for more IPS modes
authorLeo Li <sunpeng.li@amd.com>
Wed, 11 Sep 2024 21:27:08 +0000 (17:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 22:12:46 +0000 (18:12 -0400)
commitef785ca7f7c80891580cafd36c8dd86375684310
tree7a4628dd5df8bf06e7f6d74f3006afec02a47f46
parent05af800704ee7187d9edd461ec90f3679b1c4aba
drm/amd/display: Enable idle workqueue for more IPS modes

[Why]

There are more IPS modes other than DMUB_IPS_ENABLE that enables IPS. We
need to enable the hotplug detect idle workqueue for those modes as
well.

[How]

Modify the if condition to initialize the workqueue in all IPS modes
except for DMUB_IPS_DISABLE_ALL.

Fixes: 65444581a4ae ("drm/amd/display: Determine IPS mode by ASIC and PMFW versions")
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 181db30bcfed097ecc680539b1eabe935c11f57f)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c