drm/i915: Add way to specify the power-off delay of a display power domain
authorImre Deak <imre.deak@intel.com>
Fri, 16 Jun 2023 18:51:03 +0000 (21:51 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 26 Jun 2023 11:25:28 +0000 (14:25 +0300)
commitcaacfe31d64d78089387c51e80b96634d7e12550
tree68dccc65a7278c54f74a4b388e34d02c76f1bd48
parentcb7874644f0e3b95a54c4d733168127d43e69553
drm/i915: Add way to specify the power-off delay of a display power domain

Add support for specifying a delay different than the current 100 ms
default for powering off a display power domain. This is needed by the
next patch which delays re-enabling DC states during modesets to avoid
the off->on->off toggling overhead of the DC_off power well, but does
this using a < 100 ms delay for a better utilization of DC power saving
states.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230616185104.2502003-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h