diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-22 10:06:50 +0000 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-29 14:00:36 +0300 |
commit | 9a4d9babceeabb86669ff280e94c560193e66a72 (patch) | |
tree | 18b26545cea53c8f5b53e79538a5cfca81641e9b /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Michel Dänzer <michel@daenzer.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170322100650.26082-1-chris@chris-wilson.co.uk
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions