OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/nouveau: don't complain for disabled timingset entries
[android-x86/kernel.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nouveau_perf.c
diff --git
a/drivers/gpu/drm/nouveau/nouveau_perf.c
b/drivers/gpu/drm/nouveau/nouveau_perf.c
index
bb50f24
..
b4327da
100644
(file)
--- 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;
}