aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2013-09-23 13:02:07 +0300
committerDaniel Vetter <[email protected]>2013-10-14 17:12:35 +0200
commit54ddcbd26a677524d4bcd9f2a9539e6d743592d8 (patch)
treea6968305855a797f1507ee06b4159c15cfcecf2d /tools/perf/scripts/python
parent3aa18df8f22f24ab6ccd4155cb34ef6bff2f2a1c (diff)
drm/i915: Improve the accuracy of get_scanout_pos on CTG+
The DSL register increments at the start of horizontal sync, so it manages to miss the entire active portion of the current line. Improve the get_scanoutpos accuracy a bit when the scanout position is close to the start or end of vblank. We can do that by double checking the DSL value against the vblank status bit from ISR. Cc: Mario Kleiner <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: [email protected] Tested-by: [email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions