summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2025-09-29 16:00:02 +0300
committerJouni Högander <jouni.hogander@intel.com>2025-10-09 09:06:13 +0300
commit2bc98c6f97afaa55d7d1d3b66ea850166180d4fa (patch)
treee9e32610a797990ca84251cc0fc4796b7615c0ac /tools/perf/scripts/python/libxed.py
parent32fdf8f418d74da3e22a2c1319285010192edc73 (diff)
downloadlinux-2bc98c6f97afaa55d7d1d3b66ea850166180d4fa.tar.gz
linux-2bc98c6f97afaa55d7d1d3b66ea850166180d4fa.zip
drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_state
Currently ALPM parameters are computed directly into intel_dp->alpm_parameters. This is a problem when compute config ends up to not using the computed state. Fix this by adding ALPM parameters into intel_crtc_state and compute into there. Copy needed parameters (io_wake_lines and fast_wake_lines used by PSR activate/exit) from crtc_state->alpm_state into intel_dp->alpm.alpm_parameters when they are configured into HW. v3: - enhance commit message v2: - store io/fast wake lines into intel_dp->dp instead of intel_dp->alpm_parameters and do it in intel_psr_enable_locked - rename crtc_state->alpm_parameters -> crtc_state->alpm_state - clarify commit message Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Animesh Manna <animesh.manna@intel.com> Link: https://lore.kernel.org/r/20250929130003.28365-1-jouni.hogander@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions