diff options
author | 2023-05-30 17:08:08 +0800 | |
---|---|---|
committer | 2023-08-15 18:07:41 -0400 | |
commit | e01eeffc3f861425b3e8238f3d848b25ef9c1243 (patch) | |
tree | 73d8b78717ed1a49110c2f8c7b8bd5296cba2c7c /drivers/gpu/drm/amd/amdgpu/atom.h | |
parent | drm/amdkfd: Use memdup_user() rather than duplicating its implementation (diff) | |
download | linux-rng-e01eeffc3f861425b3e8238f3d848b25ef9c1243.tar.xz linux-rng-e01eeffc3f861425b3e8238f3d848b25ef9c1243.zip |
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/atom.h')
0 files changed, 0 insertions, 0 deletions