Commit 2756a4f5 authored by Francisco Jerez's avatar Francisco Jerez Committed by Ben Skeggs

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

Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 62acdc71
...@@ -103,7 +103,7 @@ nouveau_perf_init(struct drm_device *dev) ...@@ -103,7 +103,7 @@ nouveau_perf_init(struct drm_device *dev)
entries = perf[5]; entries = perf[5];
} }
} else { } else {
if (bios->data[bios->offset + 6] < 0x27) { if (bios->data[bios->offset + 6] < 0x25) {
legacy_perf_init(dev); legacy_perf_init(dev);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment