Nvidia Driver Copyright. Can I upload modified unified memory driver on GitHub?

I’m working on a scholarly paper on modifying Nvidia Driver to improve Unified Memory performance.

I have modified the driver code on Ubuntu, using “-x” option of a drivier “.run” file. My codes are all done within a folder named “[DriverRoot]/kernel/nvidia-uvm”

I want to upload these on GitHub as public, on a pure scholarly purpose. Will there be any legal problems?