]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: define an universal data structure for gpu metrics (V4)
authorEvan Quan <evan.quan@amd.com>
Thu, 23 Jul 2020 08:07:01 +0000 (16:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 19:43:37 +0000 (15:43 -0400)
commitd051c774a78599eaead68dc90558c35751ec7857
treeb3999f520290fc084950e621927bcc28eb90ac06
parente45251b75074c9ea0dac191a6b2ce963eb8b53af
drm/amd/powerplay: define an universal data structure for gpu metrics (V4)

Thus we can provide an interface for UMD to retrieve gpu metrics data.

V2: better naming and comments
V3: two structures created for dGPU and APU separately
V4: add driver attached timestamp

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/include/kgd_pp_interface.h