✓ CI.checkpatch: success for Flush DMC wakelock release work at the end of runtime suspend (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri Nov 29 16:45:35 UTC 2024
== Series Details ==
Series: Flush DMC wakelock release work at the end of runtime suspend (rev2)
URL : https://patchwork.freedesktop.org/series/141931/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2df1e08598218d2d67c0727464a9f516a7a532ed
Author: Gustavo Sousa <gustavo.sousa at intel.com>
Date: Fri Nov 29 13:37:56 2024 -0300
drm/xe/display: Flush DMC wakelock release work on runtime suspend
We currently are not calling display runtime suspend functions when
D3cold is not allowed. Because of that, we end up not disabling dynamic
DC states (and do not go to DC9). With dynamic DC states enabled, we
will also have DMC wakelock enabled. Since we use a delayed work to
release the DMC wakelock, the work might get executed a little too late
(after the PCI device has been put to D3hot) and we get a timeout
warning ("DMC wakelock release timed out") because the MMIO for
releasing the wakelock will be invalid after that point.
To fix that, make sure we flush the release work at the end of
xe_display_pm_runtime_suspend_late(). We can do that unconditionally
because, if there is no pending work, that turns into a no-op.
Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
+ /mt/dim checkpatch 108f610005f88de624c1a8c4f85d5cab9f530ddb drm-intel
8b38fb597e12 drm/i915/dmc_wl: Extract intel_dmc_wl_flush_release_work()
88f782e70cbe drm/xe/display: Extract xe_display_pm_runtime_suspend_late()
2df1e0859821 drm/xe/display: Flush DMC wakelock release work on runtime suspend
More information about the Intel-xe
mailing list