drm/i915/dgfx: Enable d3cold at s2idle
authorAnshuman Gupta <anshuman.gupta@intel.com>
Wed, 16 Aug 2023 12:52:16 +0000 (18:22 +0530)
committerAnshuman Gupta <anshuman.gupta@intel.com>
Thu, 17 Aug 2023 15:43:36 +0000 (21:13 +0530)
commit2643e6d1f2a5e51877be24042d53cf956589be10
treebd459b672481a28624a09d1abd48986eca22d2d9
parentc0eeae21425ed8994f3ba5362c2f2faf5ed6d774
drm/i915/dgfx: Enable d3cold at s2idle

System wide suspend already has support for lmem save/restore during
suspend therefore enabling d3cold for s2idle and keepng it disable for
runtime PM.(Refer below commit for d3cold runtime PM disable justification)
'commit 66eb93e71a7a ("drm/i915/dgfx: Keep PCI autosuspend control
'on' by default on all dGPU")'

It will reduce the DG2 Card power consumption to ~0 Watt
for s2idle power KPI.

v2:
- Added "Cc: stable@vger.kernel.org".

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8755
Cc: stable@vger.kernel.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Tested-by: Aaron Ma <aaron.ma@canonical.com>
Tested-by: Jianshui Yu <Jianshui.yu@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230816125216.1722002-1-anshuman.gupta@intel.com
drivers/gpu/drm/i915/i915_driver.c