drm/amd/powerplay: maximum the code sharing around metrics table retrieving