OSDN Git Service

drm/amd/powerplay: honor the OD settings
authorEvan Quan <evan.quan@amd.com>
Wed, 20 Feb 2019 09:47:35 +0000 (17:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Feb 2019 03:20:23 +0000 (22:20 -0500)
commit65543b28893a81c7a7987d5b25387ff03243dd81
tree78bda70e95b9a98bacda7db18737b3fb13631b9d
parentf5e79735cab448981e245a41ee6cbebf0e334f61
drm/amd/powerplay: honor the OD settings

Set the soft/hard max settings as max possible to
not violate the OD settings.

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/vega20_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h