drm/i915/psr: Fix using wrong mask in REG_FIELD_PREP
authorJouni Högander <jouni.hogander@intel.com>
Mon, 26 May 2025 12:05:11 +0000 (15:05 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 2 Jun 2025 09:19:11 +0000 (12:19 +0300)
commit57d63c6cd0851d3af612a556ec61b0f2a9bd522f
treed73c8b9cf58b8d65ae7ebf06a4912b5270f88ace
parentc557fd1050f6691dde36818dfc1a4c415c42901b
drm/i915/psr: Fix using wrong mask in REG_FIELD_PREP

Wrong mask is used in PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION and
PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION.

Fixes: 295099580f04 ("drm/i915/psr: Add missing ALPM AUX-Less register definitions")
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://lore.kernel.org/r/20250526120512.1702815-12-jouni.hogander@intel.com
(cherry picked from commit 8097128a40ff378761034ec72cdbf6f46e466dc0)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/display/intel_psr_regs.h