drm/amd/pm: Update energy_accumulator in gpu metrics
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Fri, 23 Apr 2021 18:57:55 +0000 (14:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:35:49 +0000 (23:35 -0400)
commitf876549dd002e8f5788c281096a7310bc53fbe20
tree3ffbbae3d837c8d17f87228bfc56e1feb5cdeadf
parent655c0ed19772d92c9665ed08bdc5202acc096dda
drm/amd/pm: Update energy_accumulator in gpu metrics

Now that it is available.

v2: squash in typecast fix (Alex)

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c