Thanks (again) to Joan Bruguera, there is a patch available for NVIDIA driver 465.31, at https://gist.github.com/joanbm/144a965c36fc1dc0d1f1b9be3438a368
I have tested this with the latest beta driver – 470.42.01 – and kernel 5.14-rc1, and it does apply OK (with some offsets):
patching file a/kernel/common/inc/nv-time.h
Hunk #2 succeeded at 215 (offset 9 lines).
patching file a/kernel/nvidia-drm/nvidia-drm-drv.c
Hunk #2 succeeded at 922 (offset 18 lines).
– and the resulting patched driver seems to load/run OK.. (after brief tests with KDE/Plasma etc..)
Robert Gadsdon. July 13th 2021.