We are tracking this bug on m5 pro and max (with built-in displays) - you can read more here:
https://developer.apple.com/forums/thread/819331
We hope there will be a fix in upcoming macOS builds.
We believe that all M4-era MBPs and Neo are working. It is the "pro" M5s with a retina XDR that are not.