Fedora Nvidia Tearing (on high gpu load or in game) (wayland and Xorg)

I found a little improvement with power mode of my laptop.

but still it’s heating way too fast and still stutter if too demanding.

here my little patch about it for Lenovo laptops (it works on mine but maybe not on some other laptops.)