]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/display/adlp: Fix PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR calculation
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 14 Sep 2021 21:25:03 +0000 (14:25 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 17 Sep 2021 17:58:47 +0000 (10:58 -0700)
commit72fe6ca84f080a01218d9208e2fa8ce8baaec548
treef37fd954f92b33225484aac8a83ad56ad20d6055
parent259d71992e57c637aa0a5d3f4f7b9f689c186191
drm/i915/display/adlp: Fix PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR calculation

As the SU_REGION_START begins at 0, the SU_REGION_END should be number
of lines - 1.

BSpec: 50424
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914212507.177511-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c