OSDN Git Service

drm/amd/powerplay: fix amdgpu_pm_info show gpu load error
authorKevin Wang <kevin1.wang@amd.com>
Fri, 10 May 2019 07:29:11 +0000 (15:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:30 +0000 (18:59 -0500)
commitd5c316930fd5196a7263f2bd8b7daf9296ae520b
treeb60faf1c73c4252c6469079d7d6bff6773ad2e4e
parent564c4c7f00266a92fd3521983164b1014e6bc7e9
drm/amd/powerplay: fix amdgpu_pm_info show gpu load error

due to the smu dma/RTOS restriction, the interval of catching smu
metric table should be more than 1ms. otherwise it will cause the gpu
activity data corruption.

Signed-off-by:Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c