1. 11 9月, 2020 8 次提交
  2. 10 9月, 2020 7 次提交
  3. 09 9月, 2020 24 次提交
  4. 08 9月, 2020 1 次提交
    • V
      fbdev: radeonfb: use generic power management · 8e0bd31d
      Vaibhav Gupta 提交于
      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: NVaibhav Gupta <vaibhavgupta40@gmail.com>
      Cc: Bjorn Helgaas <helgaas@kernel.org>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Bjorn Helgaas <bjorn@helgaas.com>
      Cc: Vaibhav Gupta <vaibhav.varodek@gmail.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Shuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200907070221.29938-3-vaibhavgupta40@gmail.com
      8e0bd31d