drm/amd/display: Fix VPG instancing for dcn314 HPO
authorDuncan Ma <duncan.ma@amd.com>
Mon, 25 Jul 2022 19:26:39 +0000 (15:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2022 19:30:06 +0000 (15:30 -0400)
commit6396679a1f2db0c63721b841f1a5617d6282a4b1
tree4c2acca124827cace2313425607986ea8dee53a7
parentdd07556324ece81f0d2be756508903d53e331e9e
drm/amd/display: Fix VPG instancing for dcn314 HPO

[Why]
An issue during VPG indexing offset generation causing
to use the incorrect VPG. HW team placed VPG instances
5 at end of list, making it VPG 9 in register headers.

[How]
Correct VPG instance for HPO encoders.

Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Duncan Ma <duncan.ma@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/dcn314/dcn314_resource.c