OSDN Git Service

drm/amd/powerplay: retrieve all clock ranges on startup
authorEvan Quan <evan.quan@amd.com>
Mon, 11 Jun 2018 07:41:44 +0000 (15:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:53 +0000 (16:38 -0500)
commit70fef5741c6b82ad293a225f116006565646fb72
tree25717cebe39d15c36898e8e7b3f95a42d58133c8
parent3b579c5483286fba6e13bc4b2f1d8a6627410371
drm/amd/powerplay: retrieve all clock ranges on startup

So that we do not need to use PPSMC_MSG_GetMin/MaxDpmFreq to
get the clock ranges on runtime. Since that causes some problems.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h