mbox series

[0/3] Flush DMC wakelock release work at the end of runtime suspend

Message ID 20241129151754.22015-1-gustavo.sousa@intel.com (mailing list archive)
Headers show
Series Flush DMC wakelock release work at the end of runtime suspend | expand

Message

Gustavo Sousa Nov. 29, 2024, 3:17 p.m. UTC
We currently are not calling display runtime suspend functions when
D3cold is not allowed. That end up causing DMC wakelock to be enabled
because of dynamic DC states. Because of that, we need to make sure we
flush the release worker at the end of display runtime suspend.

Gustavo Sousa (3):
  drm/i915/dmc_wl: Extract intel_dmc_wl_flush_release_work()
  drm/xe/display: Extract xe_display_pm_runtime_suspend_late()
  drm/xe/display: Flush DMC wakelock release work on runtime suspend

 drivers/gpu/drm/i915/display/intel_dmc_wl.c | 12 +++++++++++-
 drivers/gpu/drm/i915/display/intel_dmc_wl.h |  1 +
 drivers/gpu/drm/xe/display/xe_display.c     | 19 +++++++++++++++++++
 drivers/gpu/drm/xe/display/xe_display.h     |  1 +
 drivers/gpu/drm/xe/xe_pm.c                  |  4 ++--
 5 files changed, 34 insertions(+), 3 deletions(-)