]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Implement get_performance_level for legacy dgpu
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 5 Jul 2018 11:22:50 +0000 (19:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:47 +0000 (11:09 -0500)
commita6a95ad9f0f5c9be56af985ea3532b76582e3767
tree4a3b93db51ff3c3a45c66c58836bbd70a292faba
parent8b544644b271df784023cd648121b7eaf72bb31c
drm/amd/pp: Implement get_performance_level for legacy dgpu

display can get clock info through this function.
implement this function for vega10 and old asics.
from vega12, there is no power state management,
so need to add new interface to notify display
the clock info

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@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/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c