drm/amdgpu/powerplay: use local renoir array sizes for clock fetching
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 15:57:45 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:48:14 +0000 (16:48 -0400)
commit0e04ad7d1857670944786a8465930a049aaf995f
treea939bbb0ea5e6aa6f5a7471cedaa06b897a34804
parentee8bcc2333cc9e24e260e590131fa21c003e41ba
drm/amdgpu/powerplay: use local renoir array sizes for clock fetching

To avoid walking past the end of the arrays since the PP_SMU
defines don't match the renoir defines.

Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c