Unverified Commit e4863f11 authored by Raag Jadav's avatar Raag Jadav Committed by Rodrigo Vivi
Browse files

drm/xe/i2c: Don't rely on d3cold.allowed flag in system PM path



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 losing power.

v2: Cover S3 and above states (Rodrigo)

Fixes: 0ea07b69 ("drm/xe/pm: Wire up suspend/resume for I2C controller")
Signed-off-by: default avatarRaag Jadav <raag.jadav@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250918103200.2952576-1-raag.jadav@intel.com


Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 07abc16c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -256,7 +256,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);