diff options
author | Nicholas Susanto <nicholas.susanto@amd.com> | 2024-05-14 11:38:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 11:06:12 -0400 |
commit | cc4d6ea0f21e782d8f1c8feeb6bb3133579570dd (patch) | |
tree | 74be75829db732f8c7b17783a087e43029e34a6d /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | c5afb313e7e623a06cd3428f0a651b2235211430 (diff) | |
download | linux-cc4d6ea0f21e782d8f1c8feeb6bb3133579570dd.tar.gz linux-cc4d6ea0f21e782d8f1c8feeb6bb3133579570dd.tar.bz2 linux-cc4d6ea0f21e782d8f1c8feeb6bb3133579570dd.zip |
drm/amd/display: Fix DML2 logic to set clk state to min
[Why]
When an eDP with high clock states is going into s0i3, stream_count is
0. This causes DML to not update the clks to the lowest state and
blocking us to enter s0i3 since eDP is out of vmin.
[How]
When stream_count is 0, set all the clocks to the lowest state.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@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/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions