mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-19 11:23:11 +00:00
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:
parent
62acdc71cf
commit
2756a4f5df
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user