How to read nvidia gpu kernel module code?

Too difficult for beginners.Do you have documentation?

Hi chch206265!

Do you refer to GitHub - NVIDIA/open-gpu-kernel-modules: NVIDIA Linux open GPU kernel module source?

To be honest, building and modifying kernel sources for something as essential as the GPU is not aimed at beginners.

Nevertheless the documentation is in-place as code comments and you can create a browsable reference e.g. with doxygen or similar tools.

But unless you are already familiar with kernel development and how to read source code, it is not recommended to tinker with these sources.