a lot, but not all of the docs are public: https://nvidia.github.io/open-gpu-doc/
That and the existing kernel driver is already open source.