]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Fix VUpdate offset calculations for dcn401
authorDillon Varone <dillon.varone@amd.com>
Wed, 19 Mar 2025 17:53:25 +0000 (13:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:37 +0000 (15:18 -0400)
commitfe45e2af4a22e569b35b7f45eb9f040f6fbef94f
tree7babde3b55e59d882a5b45824a3beb7bb823e5b5
parent146a4429b5674b7520a96aea34233949731c6086
drm/amd/display: Fix VUpdate offset calculations for dcn401

[WHY&HOW]
DCN401 uses a different structure to store the VStartup offset used to
calculate the VUpdate position, so adjust the calculations to use this
value.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.h
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_init.c