]> www.infradead.org Git - users/hch/configfs.git/commit
intel_alpm: Fix wrong offset for PORT_ALPM_* registers
authorJouni Högander <jouni.hogander@intel.com>
Tue, 18 Jun 2024 05:30:26 +0000 (08:30 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Wed, 19 Jun 2024 04:42:12 +0000 (07:42 +0300)
commitdcaacff03a9fa2838f936e1009b4b7ad56807152
tree5af649494a101d8a492338881718f9b9f4dc50f4
parentdc9cfe9f1d22b359d6f316005c887c1a6e31701d
intel_alpm: Fix wrong offset for PORT_ALPM_* registers

PORT_ALPM_* registers are using MMIO_TRANS2 macro. This is not correct as
they are port register. Use _PORT_MMIO instead.

Fixes: 4ee30a448255 ("drm/i915/alpm: Add ALPM register definitions")
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/20240618053026.3268759-10-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_psr_regs.h