diff options
author | Nicholas Susanto <Nicholas.Susanto@amd.com> | 2024-08-20 11:05:54 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-09-02 11:32:42 -0400 |
commit | 6f4835f9df2df7eee0af74c850d0a06166c199eb (patch) | |
tree | 4de879b0e4a9595821b7eb84be8ad870b0d3420d /drivers/gpu/drm/amd/display/dc/bios/command_table2.c | |
parent | ad17b124c3a08241da36eb94a6f076446432743b (diff) | |
download | linux-6f4835f9df2df7eee0af74c850d0a06166c199eb.tar.gz linux-6f4835f9df2df7eee0af74c850d0a06166c199eb.tar.bz2 linux-6f4835f9df2df7eee0af74c850d0a06166c199eb.zip |
drm/amd/display: Fix DCN35 set min dispclk logic
[Why]
Setting min dispclk to 50Mhz outside clock lowering function causes
unnecessary calls to SMU to lower dispclk and causes dentist hangs when
there is no stream on the pipes.
[How]
Move the set minimum dispclk logic inside the lowering dispclk if
statement.
Fixes: 234441320552 ("DCN35 set min dispclk to 50Mhz")
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Nicholas Susanto <Nicholas.Susanto@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table2.c')
0 files changed, 0 insertions, 0 deletions