]> www.infradead.org Git - nvme.git/commit
drm/i915/psr: Perform psr2 checks related to ALPM for Panel Replay
authorJouni Högander <jouni.hogander@intel.com>
Wed, 19 Jun 2024 06:21:28 +0000 (09:21 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 25 Jun 2024 05:28:43 +0000 (08:28 +0300)
commita18114ebaaa89284d9da7d0f80bafcf8848ef520
tree8eb8a5013e2c4c016e86fe80b13ee533a08b83a8
parent5d81c2986926d61dec0eb7dc5e96c4b40bf3d95e
drm/i915/psr: Perform psr2 checks related to ALPM for Panel Replay

eDP1.5 support ALPM with Panel Replay as well. We need to check ALPM
related things for Panel Replay as well.

Bspec: 68920

v5:
  - instead of using crtc_state->has_panel_replay provide aux_less flag
v4:
  - do not move _compute_psr2_sdp_prior_scanline_indication
  - move ALPM related checks to separate function
v3: move vblank check as well
v2: do not move Vblank >= PSR2_CTL Block Count Number maximum line count
    check

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619062131.4021196-9-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c