OSDN Git Service

drm/amd/display: remove duplicate call to rn_vbios_smu_get_smu_version()
authorDirk Gouders <dirk@gouders.net>
Sun, 27 Sep 2020 09:39:45 +0000 (11:39 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 20:12:36 +0000 (16:12 -0400)
commit808ec542c0297ae0b945ed0e6aba6f625ea2353c
treead717b22d07c2c1da42807f06af8c022db57524a
parent12a6727dee5d1119fc1556b870848f511414bf5d
drm/amd/display: remove duplicate call to rn_vbios_smu_get_smu_version()

Commit 78fe9f63947a2b ("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: 78fe9f63947a2b (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>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c