diff options
| author | Vinay Belgaumkar <vinay.belgaumkar@intel.com> | 2026-09-16 12:06:14 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-09-18 11:52:56 -0400 |
| commit | 320662381ca243a3364663e917a7447afaf618fa (patch) | |
| tree | 58ec20b3c353aab7945a2c1750be6fa1336f47af /include/linux | |
| parent | 25a7255afb70b608672a50c921edf20d83ce745e (diff) | |
| download | linux-next-320662381ca243a3364663e917a7447afaf618fa.tar.gz linux-next-320662381ca243a3364663e917a7447afaf618fa.zip | |
drm/xe: Poll GT for C6 before D3
Ensure GT C6 state before D3 transition in runtime suspend flow.
This avoids the scenario where GT is being accessed after D3 state
is programmed. If the check for C6 fails, resume the device so it is
not stuck in an intermediate state.
v2: Force resume when we cancel suspend due to C6 check (Sashiko)
v3: Abort the suspend properly when idle check fails (Sashiko)
v4: Only check for C6 during suspend (Rodrigo). Have check in
xe_pci_runtime_suspend() instead of xe_pci_suspend().
v5: Don't checkfor PVC (Sashiko), rename function from_device_c6
to _device_idle
v6: Rename to _wait_all_c6 and move PVC check to gt_idle (Rodrigo)
Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20260916190614.3047807-1-vinay.belgaumkar@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
