Skip to content
Commit c072470f authored by Martin Peres's avatar Martin Peres Committed by Ben Skeggs
Browse files

drm/nouveau/bios/therm: handle vbioses with duplicate entries (mostly nva5)



Some vbioses have extra useless entries after "the end" of the table. This is
problematic since all of the vbios I found with this issue redefine the
pwm freq divider to insane levels (52750 Hz instead of 2500), thus breaking
fan management.

The first solution to solve this mess would be to change the length of the
table. The solution I choose was simply to avoid setting the pwm freq twice
as the other redefinitions are harmless with our current parser.

Signed-off-by: default avatarMartin Peres <martin.peres@labri.fr>
Reported-by: default avatarMariusz Bialonczyk <manio@skyboo.net>
Tested-by: default avatarMariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a27e5699
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment