If you are having this issue with the latest Linux Kerenls and Nvidia drivers with nvidia-drm.modeset=1 and running a desktop GUI in X try setting nvidia-drm.modeset=0 and reboot.
My Grub conf kernel command line looks like this and it is working without further issue:
nouveau.modeset=0 rd.driver.blacklist=nouveau i915.modeset=1 nvidia-drm.modeset=0 resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/swap rhgb