aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-28 00:03:25 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-28 16:41:13 +0100
commit1d5bfac96f1e1856fbdb3f06679691e5b9c2ba8f (patch)
treee0ab711e8c18a05f5e08021e708ff287e20247b0 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915: fold wait_for_atomic_us into wait_for_atomic (diff)
downloadlinux-dev-1d5bfac96f1e1856fbdb3f06679691e5b9c2ba8f.tar.xz
linux-dev-1d5bfac96f1e1856fbdb3f06679691e5b9c2ba8f.zip
drm/i915: fix up _wait_for macro
As Thomas Gleixner spotted, it's rather horrible racy: - We can miss almost a full tick, so need to compensate by 1 jiffy. - We need to re-check the condition when having timed-out, since a the last check could have been before the timeout expired. E.g. when we've been preempted or a long irq happened. Cc: Thomas Gleixner <tglx@linutronix.de> Reported-by: Jack Winter <jbh@alchemy.lu> Cc: Jack Winter <jbh@alchemy.lu> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions