drm/nouveau: Fix perf table parsing on BMP v5.25.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Francisco Jerez 2010-09-26 17:33:50 +02:00 committed by Ben Skeggs
parent 62acdc71cf
commit 2756a4f5df

View file

@ -103,7 +103,7 @@ nouveau_perf_init(struct drm_device *dev)
entries = perf[5];
}
} else {
if (bios->data[bios->offset + 6] < 0x27) {
if (bios->data[bios->offset + 6] < 0x25) {
legacy_perf_init(dev);
return;
}