提交 0b3b5579 编写于 作者: B Ben Skeggs

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

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册