drm/amd/powerplay: add control method to bypass metrics cache on Vega12
authorEvan Quan <evan.quan@amd.com>
Thu, 30 Jul 2020 07:28:40 +0000 (15:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 19:45:42 +0000 (15:45 -0400)
commitbf1102877751175fe6c1d68734d3c57d4af65df9
tree44b6c6f475cef3c0c13c03fa5409d6cca7ef7542
parent740dce9517cb4f67f762131b4f62584e65b97593
drm/amd/powerplay: add control method to bypass metrics cache on Vega12

As for the gpu metric export, metrics cache makes no sense. It's up to
user to decide how often the metrics should be retrieved.

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/vega12_hwmgr.c