diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-24 17:35:50 +0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 10:06:42 +0400 |
| commit | a4f968d8e50cb7810e08ebb9bf4c8f2b769fdac7 (patch) | |
| tree | c61adfd3be0ec10b9487883d84ca022e71df6f25 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 9499c82da27cf4ce7e919fc26bd26187a71fe664 (diff) | |
| download | linux-a4f968d8e50cb7810e08ebb9bf4c8f2b769fdac7.tar.xz | |
drm: don't unnecessarily enable the polling work
... by properly checking connector->polled. This doesn't matter too
much because the polling work itself gets this slightly more right and
doesn't set repoll if there's nothing to do. But we can do better.
v2: Chris Wilson noticed that I broke polling, since repoll will never
ever be set true. Fix this up, and simplify the logic a bit while at
it.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
