summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-02-19 17:16:38 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-20 18:03:05 +0400
commit5e2032d47ac9b67e671bd855c5e68005190954da (patch)
treee9e6ef963638820797fedb1ed28346bd3479679f /tools/perf/scripts/python
parent2ec90668e3db1d9fe9bb8370d74a5e51709c2d79 (diff)
downloadlinux-5e2032d47ac9b67e671bd855c5e68005190954da.tar.xz
drm/i915: Eliminate race from gen2/3 page flip interrupt handling
If the interrupt handler were to process a previous vblank interrupt and the following flip pending interrupt at the same time, the page flip would be completed too soon. To eliminate this race, check the live pending flip status from the ISR register before finishing the page flip. v2: Added a comment explaining the logic (by Chris Wilson) v3: Fix a typo in the comment Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-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')
0 files changed, 0 insertions, 0 deletions