]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/alpm: use variable from intel_crtc_state instead of intel_psr
authorJouni Högander <jouni.hogander@intel.com>
Wed, 23 Apr 2025 09:23:24 +0000 (14:53 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Thu, 24 Apr 2025 08:23:34 +0000 (13:53 +0530)
commit278a7be9b8d587017098cbfae39ee136337f1776
treee0e9cdb420a4dc914090d9a0add5730b218c78c5
parentd56c95d46712e8301bdf9b1ca6199df7225ec6a9
drm/i915/alpm: use variable from intel_crtc_state instead of intel_psr

Currently code is making assumption that PSR is enabled when
intel_alpm_configure is called. This doesn't work if alpm is configured
before PSR is enabled.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://lore.kernel.org/r/20250423092334.2294483-2-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c