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)
commit1a085e23411de188ad0615f40a9399d80d1f7368
tree654b60c8b8b925cc6373e20df58e556f2a4aa343
parentd5e781a2e50fefbcde81f10e0e9e2669fadc9b01
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