Introduce PME support for PME capable devices and avoid HPD polling on runtime suspend. For PME capable devices HPD will trigger PME which will wakeup the system. And rest of the runtime resume call is same as before.
Vinod Govindapillai (4): drm/i915/hpd: plumb keep_hpd through irq reset drm/xe/pm: plumb PME capability to runtime suspend handler drm/xe/pm: allow the device to signal PME from D3hot drm/i915/display: Avoid HPD polling if the device is PME capable .../drm/i915/display/intel_display_driver.c | 6 ++- .../drm/i915/display/intel_display_driver.h | 3 +- .../gpu/drm/i915/display/intel_display_irq.c | 46 +++++++++++++------ .../gpu/drm/i915/display/intel_display_irq.h | 2 +- drivers/gpu/drm/i915/i915_driver.c | 2 +- drivers/gpu/drm/i915/i915_irq.c | 16 +++---- drivers/gpu/drm/xe/display/xe_display.c | 8 ++-- drivers/gpu/drm/xe/display/xe_display.h | 8 ++-- drivers/gpu/drm/xe/xe_device.c | 2 +- drivers/gpu/drm/xe/xe_irq.c | 18 +++++--- drivers/gpu/drm/xe/xe_irq.h | 2 +- drivers/gpu/drm/xe/xe_pci.c | 22 ++++++++- drivers/gpu/drm/xe/xe_pm.c | 34 ++++++++++++-- drivers/gpu/drm/xe/xe_pm.h | 3 +- 14 files changed, 120 insertions(+), 52 deletions(-) -- 2.43.0
