summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorYang Wang <KevinYang.Wang@amd.com>2023-05-30 17:08:08 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-15 18:07:41 -0400
commite01eeffc3f861425b3e8238f3d848b25ef9c1243 (patch)
tree73d8b78717ed1a49110c2f8c7b8bd5296cba2c7c /drivers/gpu/drm/amd/amdgpu
parentbd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (diff)
drm/amd/pm: avoid driver getting empty metrics table for the first time
add metrics.AccumulationCouter check to avoid driver getting an empty metrics data since metrics table not updated completely in pmfw side. Signed-off-by: Yang Wang <KevinYang.Wang@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Tested-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions