aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVaibhav Gupta <[email protected]>2020-07-20 17:07:41 +0530
committerVinod Koul <[email protected]>2020-08-17 10:23:55 +0530
commit7db7f8e0a375d364c79cbc2d14ffe8ee594f0906 (patch)
tree9ae2523ae7139cdb09148b230bdb953c8567ba6f /tools/perf/scripts/python/flamegraph.py
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
dmaengine: pch_dma: use generic power management
Drivers using legacy PM have to manage PCI states and device's PM states themselves. They also need to take care of configuration registers. With improved and powerful support of generic PM, PCI Core takes care of above mentioned, device-independent, jobs. This driver makes use of PCI helper functions like pci_save/restore_state(), pci_enable/disable_device(), and pci_set_power_state() to do required operations. In generic mode, they are no longer needed. Change function parameter in both .suspend() and .resume() to "struct device*" type. Use dev_get_drvdata() to get drv data. Compile-tested only. Signed-off-by: Vaibhav Gupta <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions