Bug 110997

Summary: NV50 fan runs at full speed after resume from suspend on kernels 5.1.8, 4.19.49
Product: xorg Reporter: Marc Meledandri <m.meledandri>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: NEEDINFO --- QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: m.meledandri
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
vbios.rom
none
Fix for Tesla i2c regression none

Description Marc Meledandri 2019-06-25 16:10:53 UTC
Created attachment 144635 [details]
vbios.rom

As of stable kernels 5.1.8 and 4.19.49, the GTX 260 fan runs at full speed after resuming from suspend.

This behavior regressed as of commit 342406e4fbba9a174125fbfe6aeac3d64ef90f76
drm/nouveau/i2c: Disable i2c bus access after ->fini()
https://lkml.org/lkml/2019/6/7/673

Reverting this single commit when building the respective stable kernels fixes the fan speed issue.

$ lspci -nn -d 10de:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200 [GeForce GTX 260] [10de:05e2] (rev a1)

Discussion on Nouveau mailing list:
https://lists.freedesktop.org/archives/nouveau/2019-June/032620.html
Comment 1 Lyude Paul 2019-06-25 20:56:39 UTC
Created attachment 144637 [details] [review]
Fix for Tesla i2c regression

Hi! Turns out I actually have one of these GPUs in my drawer, so I was able to reproduce this issue with no problems. Could you verify that the following patch fixes your issue? If so, I'll add your Tested-by and send it out onto the nouveau ML
Comment 2 Marc Meledandri 2019-06-25 21:54:14 UTC
Hi! Thanks so much for the quick turnaround on this one. Great that you had a card on hand to test with.

I can confirm that this patch applied against stable kernel 5.1.15 resolves the fan speed issue when resuming from suspend.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.