drm/amd/powerplay: error out on forcing clock setting not supported
authorEvan Quan <evan.quan@amd.com>
Fri, 3 Apr 2020 05:19:14 +0000 (13:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Apr 2020 21:51:54 +0000 (17:51 -0400)
commit3abd1e95e0b0aa816d4dd63cac33a423afb4a7f2
tree5e18f7ac22e47b784d144e8039ea8acc2f283f5c
parent487eca11a321ef33bcf4ca5adb3c0c4954db1b58
drm/amd/powerplay: error out on forcing clock setting not supported

For Arcturus, forcing clock to some specific level is not supported
with 54.18 and onwards SMU firmware. As according to firmware team,
they adopt new gfx dpm tuned parameters which can cover all the use
case in a much smooth way. Thus setting through driver interface
is not needed and maybe do a disservice.

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