diff options
author | Chris Wilson <[email protected]> | 2017-03-22 10:06:50 +0000 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-03-29 14:00:36 +0300 |
commit | 9a4d9babceeabb86669ff280e94c560193e66a72 (patch) | |
tree | 18b26545cea53c8f5b53e79538a5cfca81641e9b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6c06a59703946d2f133c067629eb911bb58ff3a6 (diff) |
drm: Refactor vblank sequence number comparison
Move the repeated (a - b) <= (1 << 23) to its own function.
v2: Catch the '1<<23' inside drm_handle_vblank() as well
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Michel Dänzer <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions