aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_perf.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-26 11:33:50 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-10-04 19:58:29 -0400
commit2756a4f5df42bf19496ad7759032633ab826ea0e (patch)
tree47310156b094efb6e6e95bf063a947c266841a6b /drivers/gpu/drm/nouveau/nouveau_perf.c
parent62acdc71cfbc816b26a57d89f433f8afaf4ff78d (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_perf.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_perf.c2
1 files changed, 1 insertions, 1 deletions
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)
103 entries = perf[5]; 103 entries = perf[5];
104 } 104 }
105 } else { 105 } else {
106 if (bios->data[bios->offset + 6] < 0x27) { 106 if (bios->data[bios->offset + 6] < 0x25) {
107 legacy_perf_init(dev); 107 legacy_perf_init(dev);
108 return; 108 return;
109 } 109 }