[PATCH 6.10 050/184] drm/amd/pm: Fix negative array index read