Not sure if it works for non ASUS motherboards, but ASUS removed P-State overclocking from the newer BIOS, but this one restores that ability. Personally I just use a custom P0.
https://www.overclock.net/forum/13-amd-general/1684897-asus-zenstates.html