summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2024-03-13 15:32:19 +0200
committerJouni Högander <jouni.hogander@intel.com>2024-03-14 16:26:51 +0200
commitfe10e7c681a147d4635a83706528d5caf349a978 (patch)
tree35422e6b36c29daa3e773df05bd284dcc25428fb /tools/perf/scripts/python
parent8453c12aa29f0a1fa106df4e9fd618f9235e1123 (diff)
downloadlinux-fe10e7c681a147d4635a83706528d5caf349a978.tar.gz
linux-fe10e7c681a147d4635a83706528d5caf349a978.zip
drm/i915/psr: Improve fast and IO wake lines calculation
Current fast and IO wake lines calculation is assuming fast wake sync length is 18 pulses. Let's improve this by checking actual length. Add getter for IO buffer wake time and return 10 us there which was assumed with static 42 us IO wake time. Upcoming patches will extent this for different display versions. Bspec: 65450 v3: - s/get_io_buffer_wake_time/io_buffer_wake_time/ and use it directly in calculation. v2: - rename io_wake_time in if block to io_buffer_wake_time - rename get_io_wake_time to get_io_buffer_wake_time Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240313133221.868391-3-jouni.hogander@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions