diff options
author | Darren Powell <darren.powell@amd.com> | 2022-04-29 21:20:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-22 16:55:12 -0400 |
commit | 543faf57ee0ef6feb1ef60122c0abb9097083ded (patch) | |
tree | 8a835c139d115122531c7b3e61ab4b9f6746c97f /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | |
parent | ab8529b0cdb271d9b222cbbddb2641f3fca5df8f (diff) |
amdgpu/pm: Fix incorrect variable for size of clocks array
[v2]
No Changes, added RB
[v1]
Size of pp_clock_levels_with_latency is PP_MAX_CLOCK_LEVELS, not MAX_NUM_CLOCKS.
Both are currently defined as 16, modifying in case one value is modified in future
Changed code in both arcturus and aldabaran.
Also removed unneeded var count, and used min_t function
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h')
0 files changed, 0 insertions, 0 deletions