Commit 0b3b5579 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: don't complain for disabled timingset entries



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e425e0b3
......@@ -127,6 +127,7 @@ nouveau_perf_timing(struct drm_device *dev, struct bit_entry *P,
entry += ramcfg * recordlen;
if (entry[1] >= pm->memtimings.nr_timing) {
if (entry[1] != 0xff)
NV_WARN(dev, "timingset %d does not exist\n", entry[1]);
return NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment