diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-29 02:45:07 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 08:04:29 +0200 |
commit | 0b3b5579e1e498af2383b0d0d68e84f2e0bc76db (patch) | |
tree | a2de5a6b8551236f18b6e2f26f6287d5c66bf8db /drivers/gpu/drm/nouveau/nouveau_perf.c | |
parent | drm/nvc0/gr: copy GPC mpart config from PFFB (diff) | |
download | linux-0b3b5579e1e498af2383b0d0d68e84f2e0bc76db.tar.xz linux-0b3b5579e1e498af2383b0d0d68e84f2e0bc76db.zip |
drm/nouveau: don't complain for disabled timingset entries
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index bb50f2490234..b4327dad6e56 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gpu/drm/nouveau/nouveau_perf.c @@ -127,7 +127,8 @@ nouveau_perf_timing(struct drm_device *dev, struct bit_entry *P, entry += ramcfg * recordlen; if (entry[1] >= pm->memtimings.nr_timing) { - NV_WARN(dev, "timingset %d does not exist\n", entry[1]); + if (entry[1] != 0xff) + NV_WARN(dev, "timingset %d does not exist\n", entry[1]); return NULL; } |