aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2024-05-28 21:56:44 +0300
committerVille Syrjälä <[email protected]>2024-05-31 13:43:15 +0300
commit5316dd0d617bb98956f75cb33982efe1b26d8f19 (patch)
treee07884fcee48ca7a15df3847e4258c51eefb0a5b /tools/perf/scripts/python/export-to-sqlite.py
parent9677dd01ca1ada359f22cd129ccaeab9cd383567 (diff)
drm/i915: Simplify scanline_offset handling for gen2
Currently intel_crtc_scanline_offset() is careful to always return a positive offset. That is not actually necessary as long as we take care of negative values when applying the offset in __intel_get_crtc_scanline(). This simplifies intel_crtc_scanline_offset(), and makes the scanline_offfset arithmetic more symmetric between the forward (__intel_get_crtc_scanline()) and reverse (intel_crtc_scanline_to_hw()) directions. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions