From 2756a4f5df42bf19496ad7759032633ab826ea0e Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Sun, 26 Sep 2010 17:33:50 +0200 Subject: [PATCH] drm/nouveau: Fix perf table parsing on BMP v5.25. Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 5a95be65412..3be875f1d98 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gpu/drm/nouveau/nouveau_perf.c @@ -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; } -- 2.39.5