Skip to content

Commit

Permalink
drm/nouveau: Fix perf table parsing on BMP v5.25.
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Oct 4, 2010
1 parent 62acdc7 commit 2756a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2756a4f

Please sign in to comment.