diff options
| author | Vaibhav Gupta <[email protected]> | 2020-09-07 12:32:21 +0530 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-09-08 13:33:35 +0200 |
| commit | 8e0bd31dad0665d8b942cb05495abb5ec931fde0 (patch) | |
| tree | 8cd72dfff00bb2ec87933c483830a93a54f34074 /tools/perf/scripts/python | |
| parent | 8c2bb49f38c94063a739da1758364645e5cd53e1 (diff) | |
fbdev: radeonfb: use generic power management
Drivers using legacy PCI power management .suspend()/.resume() callbacks
have to manage PCI states and device's PM states themselves. They also
need to take care of standard configuration registers.
Switch to generic power management framework using a "struct dev_pm_ops"
variable to take the unnecessary load from the driver.
This also avoids the need for the driver to directly call most of the PCI
helper functions and device power state control functions, as through
the generic framework PCI Core takes care of the necessary operations,
and drivers are required to do only device-specific jobs.
Signed-off-by: Vaibhav Gupta <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Vaibhav Gupta <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions