drm/amd/display: use correct vpg instance for 128b/132b encoding
authorWenjing Liu <wenjing.liu@amd.com>
Mon, 13 Sep 2021 15:25:56 +0000 (11:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 13:30:08 +0000 (09:30 -0400)
commitb0d8889006037a7b5a52a9fdad78273406fa34ce
treec3e66b8a98bcf2336d0a6a7cca3264ab3d237a7a
parente794747622c3beecca0401a51d3041e233539c8f
drm/amd/display: use correct vpg instance for 128b/132b encoding

[why]
128b/132b uses the vpg instance assigned to hpo dp stream encoder.
The current vpg used is assigned to dio stream encoder.
This is incorrect and cause display black screen because the
actual vpg is powered off.

Reviewed-by: Michael Strauss <michael.strauss@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/core/dc_link.c