diff options
author | Imre Deak <imre.deak@intel.com> | 2023-06-16 21:51:04 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-06-26 14:25:33 +0300 |
commit | 205508cf325cf0cfe7b4f11cbd8dbda8ed018490 (patch) | |
tree | 3d5d2a21866ba430cbf775c7ca9ad7c8654cbe8a /Documentation/gpu/rfc | |
parent | caacfe31d64d78089387c51e80b96634d7e12550 (diff) | |
download | linux-205508cf325cf0cfe7b4f11cbd8dbda8ed018490.tar.xz |
drm/i915: Prevent needless toggling of DC states during modesets
DC states are disabled / re-enabled around each modeset, which may lead
to a needless off->on->off toggling of the DC_off power well. This has
some overhead as toggling DC states involves running a DMC firmware
handler and also running a periodic firmware handler while DC states are
enabled. The limit of when DC states have a benefit is at 30 FPS (using
DC3co) and below 30 FPS (using DC5/6), where the firmware can actually
disable clocks / power off power wells. Accordingly delay powering off
the DC_off powerwell (which re-enables DC states) by 17 ms at the end of
a modeset to avoid the above overhead at or above 60 FPS.
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-4-imre.deak@intel.com
Diffstat (limited to 'Documentation/gpu/rfc')
0 files changed, 0 insertions, 0 deletions