aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2014-03-28 23:29:32 +0200
committerDaniel Vetter <[email protected]>2014-03-31 10:46:33 +0200
commit1caea6e945e0867d391369097937620c945dcec1 (patch)
tree571c190878b0e9f8fd0d787e7066a488409f9443 /tools/perf/util/scripting-engines/trace-event-python.c
parentefc2cfff28a9424a0f9f8b068c6c8697435664c3 (diff)
drm/i915: Make sure vsyncshift is positive
If vsyncshift comes out as negative, add one htotal to it to get the corresponding positive value. This is rather theoretical as it would require a mode where the hsync+back porch is very long and the active+front porch very short. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Jesse Barnes <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions