summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-26 17:33:50 +0200
committerBen Skeggs <bskeggs@redhat.com>2010-10-05 09:58:29 +1000
commit2756a4f5df42bf19496ad7759032633ab826ea0e (patch)
tree47310156b094efb6e6e95bf063a947c266841a6b
parent62acdc71cfbc816b26a57d89f433f8afaf4ff78d (diff)
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>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c
index 5a95be65412..3be875f1d98 100644
--- a/drivers/gpu/drm/nouveau/nouveau_perf.c
+++ b/drivers/gpu/drm/nouveau/nouveau_perf.c
@@ -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;
}