Skip to content

Commit 548c7ba

Browse files
dgoudersalexdeucher
authored andcommitted
drm/amd/display: remove duplicate call to rn_vbios_smu_get_smu_version()
Commit 78fe9f6 ("drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions") added a call to rn_vbios_smu_get_smu_version() to set clk_mgr->smu_ver. That field is initialized prior to the if-statement, already. Fixes: 78fe9f6 (drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions) Signed-off-by: Dirk Gouders <dirk@gouders.net> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Sung Lee <sung.lee@amd.com> Cc: Yongqiang Sun <yongqiang.sun@amd.com> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 3c26d03 commit 548c7ba

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,6 @@ void rn_clk_mgr_construct(
783783
} else {
784784
struct clk_log_info log_info = {0};
785785

786-
clk_mgr->smu_ver = rn_vbios_smu_get_smu_version(clk_mgr);
787786
clk_mgr->periodic_retraining_disabled = rn_vbios_smu_is_periodic_retraining_disabled(clk_mgr);
788787

789788
/* SMU Version 55.51.0 and up no longer have an issue

0 commit comments

Comments
 (0)