There are two possible solutions for now:
- Switch to pre-6.12 kernel, probably the LTS one
- Add
amdgpu.dcdebugmask=0x10
to your kernel options to disable PSR (Panel Self Refresh) - it increases power draw, but fixes the glitches
Upstream bug report (has additional relevant links in it):