diff options
| author | 2025-09-29 16:00:02 +0300 | |
|---|---|---|
| committer | 2025-10-09 09:06:13 +0300 | |
| commit | 2bc98c6f97afaa55d7d1d3b66ea850166180d4fa (patch) | |
| tree | e9e32610a797990ca84251cc0fc4796b7615c0ac /scripts | |
| parent | drm/i915: s/intel_get_linetime_us()/skl_wm_linetime_us()/ (diff) | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
