diff options
author | Yang Wang <KevinYang.Wang@amd.com> | 2023-05-30 12:08:08 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-16 01:07:41 +0300 |
commit | e01eeffc3f861425b3e8238f3d848b25ef9c1243 (patch) | |
tree | 73d8b78717ed1a49110c2f8c7b8bd5296cba2c7c /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | bd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (diff) | |
download | linux-e01eeffc3f861425b3e8238f3d848b25ef9c1243.tar.xz |
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/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions