Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe/i2c: Don't rely on d3cold.allowed flag in system PM path
@ 2025-09-18 10:32 Raag Jadav
  2025-09-18 10:38 ` ✗ CI.checkpatch: warning for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Raag Jadav @ 2025-09-18 10:32 UTC (permalink / raw)
  To: lucas.demarchi, rodrigo.vivi
  Cc: intel-xe, riana.tauro, badal.nilawar, Raag Jadav

In S3 and above sleep states, the device can loose power regardless of
d3cold.allowed flag. Bring up I2C controller explicitly in system PM
path to ensure its normal operation after loosing power.

v2: Cover S3 and above states (Rodrigo)

Fixes: 0ea07b69517a ("drm/xe/pm: Wire up suspend/resume for I2C controller")
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
 drivers/gpu/drm/xe/xe_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index a303ed5780b4..00ced1f63776 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -198,7 +198,7 @@ int xe_pm_resume(struct xe_device *xe)
 	if (err)
 		goto err;
 
-	xe_i2c_pm_resume(xe, xe->d3cold.allowed);
+	xe_i2c_pm_resume(xe, true);
 
 	xe_irq_resume(xe);
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-10-02 14:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 10:32 [PATCH v2] drm/xe/i2c: Don't rely on d3cold.allowed flag in system PM path Raag Jadav
2025-09-18 10:38 ` ✗ CI.checkpatch: warning for " Patchwork
2025-09-18 10:39 ` ✓ CI.KUnit: success " Patchwork
2025-09-18 11:26 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-18 14:41 ` [PATCH v2] " Rodrigo Vivi
2025-09-18 18:52 ` ✗ Xe.CI.Full: failure for " Patchwork
2025-09-30  9:41 ` [PATCH v2] " Raag Jadav
2025-10-02 14:29   ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox