Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
0b3b5579
Commit
0b3b5579
authored
Jun 29, 2011
by
Ben Skeggs
Browse files
drm/nouveau: don't complain for disabled timingset entries
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
e425e0b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/gpu/drm/nouveau/nouveau_perf.c
View file @
0b3b5579
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment