diff options
| author | Yang Wang <[email protected]> | 2023-05-30 09:08:08 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-15 22:07:41 +0000 |
| commit | e01eeffc3f861425b3e8238f3d848b25ef9c1243 (patch) | |
| tree | 73d8b78717ed1a49110c2f8c7b8bd5296cba2c7c /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | drm/amdkfd: Use memdup_user() rather than duplicating its implementation (diff) | |
| download | kernel-e01eeffc3f861425b3e8238f3d848b25ef9c1243.tar.gz kernel-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 <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Tested-by: Asad Kamal <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
