summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDolev Raviv <draviv@codeaurora.org>2014-09-25 15:32:31 +0300
committerChristoph Hellwig <hch@lst.de>2014-10-01 13:11:23 +0200
commit7eb584db73bebbc9852a14341431ed6935419bec (patch)
treecfd9dd104806fd4a91efdc21b2bf625b831d1e61 /tools/perf/scripts/python
parent57d104c153d3d6d7bea60089e80f37501851ed2c (diff)
ufs: refactor configuring power mode
Sometimes, the device shall report its maximum power and speed capabilities, but we might not wish to configure it to use those maximum capabilities. This change adds support for the vendor specific host driver to implement power change notify callback. To enable configuring different power modes (number of lanes, gear number and fast/slow modes) it is necessary to split the configuration stage from the stage that reads the device max power mode. In addition, it is not required to read the configuration more than once, thus the configuration is stored after reading it once. Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions