提交 2756a4f5 编写于 作者: F Francisco Jerez 提交者: Ben Skeggs

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

Signed-off-by: NFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 62acdc71
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册