From: Francisco Jerez Date: Sun, 26 Sep 2010 15:33:50 +0000 (+0200) Subject: drm/nouveau: Fix perf table parsing on BMP v5.25. X-Git-Tag: firefly_0821_release~7613^2~3600^2~28^2~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2756a4f5df42bf19496ad7759032633ab826ea0e;p=firefly-linux-kernel-4.4.55.git drm/nouveau: Fix perf table parsing on BMP v5.25. Signed-off-by: Francisco Jerez Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 5a95be654123..3be875f1d983 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; }