[PATCH 6.10 057/184] drm/amd/display: Ensure array index tg_inst wont be -1