[PATCH 1/2] drm/amd/powerplay: fix bug visit array out of bounds