]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add Renoir support for gpu metrics export(V2)
authorEvan Quan <evan.quan@amd.com>
Mon, 27 Jul 2020 08:24:46 +0000 (16:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 19:44:41 +0000 (15:44 -0400)
commit02b5204f066d64b54b3a7eef12d949835cbd90d6
tree98cdf9731fbfd2177a83eaa942fd5b3f89a94ebf
parent0ef3e37e2b8f795a924b6f9a553b457059f87662
drm/amd/powerplay: add Renoir support for gpu metrics export(V2)

Add Renoir gpu metrics export interface.

V2: use memcpy to make code more compact

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
drivers/gpu/drm/amd/powerplay/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v12_0.c