Could be this known amdgpu display driver issue. See issue description there, do you see that error in your system’s journal/log at the time of the crashes? There’s a workaround, adding amdgpu.dcdebugmask=0x10 to the kernel command line. In Fedora that’s done with:
sudo grubby --args="amdgpu.dcdebugmask=0x10" --update-kernel=ALL