drm/amd/powerplay: new framework to honour DAL clock limits
authorEvan Quan <evan.quan@amd.com>
Wed, 9 May 2018 02:57:53 +0000 (10:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 13:54:22 +0000 (08:54 -0500)
commit73aa1b9af5947f103913124f93ca19e6f3af1c1b
treef97850345e6d21b0ed3b7ef573aec3a27ef124f2
parentc5fb5426dda897fbfeb3ddba81c9811f1178132c
drm/amd/powerplay: new framework to honour DAL clock limits

This is needed for vega12 and vega20 which do not support legacy
powerstate. With this new framework, the DAL clocks limits can also
be honored on these asics.

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