diff options
author | Leo Li <sunpeng.li@amd.com> | 2024-09-11 17:27:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-01 17:34:12 -0400 |
commit | 181db30bcfed097ecc680539b1eabe935c11f57f (patch) | |
tree | f99416f0da54ca0aa4fcf94a1fdb0ebcf734aef1 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | 82f8b2cfd7db83924ff9515273f4781fa53648ab (diff) | |
download | linux-181db30bcfed097ecc680539b1eabe935c11f57f.tar.gz linux-181db30bcfed097ecc680539b1eabe935c11f57f.tar.bz2 linux-181db30bcfed097ecc680539b1eabe935c11f57f.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
0 files changed, 0 insertions, 0 deletions