]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: dynamically disable ds and ulv for compute
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 8 Nov 2019 05:20:30 +0000 (13:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2019 17:30:17 +0000 (12:30 -0500)
commitc943301c3ffdd79362d9d317bab9651857e32206
tree7a15582b0166ad13ca638748401c10ebbb2de042
parente53b57ccb0c40237811f1c6fd5bac855e6290b17
drm/amd/powerplay: dynamically disable ds and ulv for compute

This is to improve the performance in the compute mode
for vega10. For example, the original performance for a rocm
bandwidth test: 2G internal GPU copy, is about 99GB/s.
With the idle power features disabled dynamically, the porformance
is promoted to about 215GB/s.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h