aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2013-09-23 14:48:50 +0300
committerDaniel Vetter <[email protected]>2013-10-14 17:11:11 +0200
commitc2baf4b7097cb66e7ee3c2fa0f585d386dab6300 (patch)
tree5dea4727117c903c4203562eeb8b4121d1cd205b /tools/perf/scripts/python
parentf646628b9f40cbd1c13a0eb190901c6a78395be6 (diff)
drm/i915: Skip register reads in i915_get_crtc_scanoutpos()
We have all the information we need in the mode structure, so going and reading it from the hardware is pointless, and slower. We never populated ->get_vblank_timestamp() in the UMS case, and as that is the only way we'd ever call ->get_scanout_position(), we can completely ignore UMS in i915_get_crtc_scanoutpos(). Also reorganize intel_irq_init() a bit to clarify the KMS vs. UMS situation. v2: Drop UMS code 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