From: Martin Peres Date: Fri, 30 Aug 2013 23:58:50 +0000 (+0200) Subject: drm/nouveau/bios/therm: handle vbioses with duplicate entries (mostly nva5) X-Git-Tag: v3.12-rc1~136^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c072470f4e9abdde7cdf1c850b8826f32f9e79e3;p=pandora-kernel.git 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: Martin Peres Reported-by: Mariusz Bialonczyk Tested-by: Mariusz Bialonczyk Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed