]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable D3Cold in s2idle and runtime pm
authorTilak Tangudu <tilak.tangudu@intel.com>
Mon, 15 Nov 2021 15:40:54 +0000 (21:10 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 16 Nov 2021 14:39:33 +0000 (09:39 -0500)
commitafce6977eeebeca2ffc6b9887995944b652d45f8
tree654b60c8b8b925cc6373e20df58e556f2a4aa343
parent045dc4726732a5485e741344465f400589f3a1bc
drm/i915: Disable D3Cold in s2idle and runtime pm

s2idle and runtime pm puts the pci gfx device in D3Hot, ACPI runtime
monitors the pci tree,if it sees complete tree as D3Hot,it transitions
the device to D3Cold.But i915 do not have D3Cold support in S2idle or in
runtime pm. so disabling D3cold in above flows and its FIXME.

Added pci D3Cold enable/disable in s2idle and runtime suspend/resume
flows.

Signed-off-by: Tilak Tangudu <tilak.tangudu@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211115154054.3220476-1-tilak.tangudu@intel.com
drivers/gpu/drm/i915/i915_drv.c