summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-09-30 20:04:10 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-10-04 00:33:18 +0300
commitd4f9a053bfe703b699f673f7adb67bae1f3bc01c (patch)
tree7f3e3d50c770e007616aa9fa94e432d497664dbe /tools/perf/scripts/python/export-to-sqlite.py
parentd6dfbc6f81c3f86497b0d2e4e4f32ea6642aa5df (diff)
downloadlinux-d4f9a053bfe703b699f673f7adb67bae1f3bc01c.tar.xz
drm/i915: Introduce intel_scanlines_to_usecs()
Introduce intel_scanlines_to_usecs() as a counterpart to intel_usecs_to_scanlines(). We'll have some use for this in DSB code as we want to do relative scanline waits to evade the delayed vblank, but unfortunately DSB can't do relative scanline waits (only absolute). So we'll instead convert the relative scanline count to usec and do a relative usec wait instead (which the DSB knows how to do). Reviewed-by: Animesh Manna <animesh.manna@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240930170415.23841-9-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions