95cbdcee83
si_pm4_state will use si_atom, and both loops in si_emit_all_states will be merged. This is a preparation for that because si_pm4_emit needs to know the state index. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24732>