]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable runtime power management during shutdown
authorImre Deak <imre.deak@intel.com>
Wed, 27 Jan 2021 18:19:09 +0000 (20:19 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 4 Feb 2021 18:10:33 +0000 (20:10 +0200)
commit6b9e45c23a1a0416fa1d39be53afa08c891efb0f
tree25b746baba0ace59a1ab8db4fd9a1dd974eecf71
parente90a5e4698dc8e206e0b2da1be0bcd6bca1dc773
drm/i915: Disable runtime power management during shutdown

At least on some TGL platforms PUNIT wants to access some display HW
registers, but it doesn't handle display power management (disabling DC
states as required) and so this register access will lead to a hang. To
prevent this disable runtime power management for poweroff and reboot.

v2:
- Add code comment clarifying the requirement of display power states.
  (Ville)

Reported-and-tested-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210127181909.128094-1-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.c