drm/nouveau: Fix perf table parsing on BMP v5.25.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 26 Sep 2010 15:33:50 +0000 (17:33 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 4 Oct 2010 23:58:29 +0000 (09:58 +1000)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_perf.c

index 5a95be654123f0505fb7df31cc8a8732dcb63ad4..3be875f1d98346f2af0d623496641289955cce85 100644 (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;
                }