Here's an example patch from Fedora https://github.com/rpmfusion/nvidia-kmod/commit/cad35064f5eb115b9ef8ea06159b4c0716e1599b