[PATCH] drm/amd/pm: fix the Out-of-bounds read warning