diff options
| author | Rajmohan Mani <rajmohan.mani@intel.com> | 2020-08-17 08:55:20 -0700 |
|---|---|---|
| committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-09-03 12:06:40 +0300 |
| commit | dc4c4bf122ed58f7fc1870c483e2e1dbe6912b2f (patch) | |
| tree | b0283cb8406364c03b8aba5c92b7be3513c933a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | thunderbolt: Use kobj_to_dev() instead of container_of() (diff) | |
| download | linux-dc4c4bf122ed58f7fc1870c483e2e1dbe6912b2f.tar.gz linux-dc4c4bf122ed58f7fc1870c483e2e1dbe6912b2f.zip | |
thunderbolt: Optimize Force Power logic
Currently the "Force Power" logic uses 10 retries, each with a delay of
250 ms. Thunderbolt controllers in Ice Lake and Tiger Lake platforms are
found to complete this in the order of 3 ms or so. Since this delay
is in resume path, surplus delay is effectively affecting runtime PM
resume flows.
Decrease the granularity of the delay to 3 ms and increase the number of
retries so we wait maximum of ~1 s which is the recommended timeout.
This should make runtime resume a bit faster.
Reported-by: Dana Alkattan <dana.alkattan@intel.com>
Signed-off-by: Rajmohan Mani <rajmohan.mani@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
