[PATCH 5.15] drm/amd/pm: Fix negative array index read