drm/amd/display: initialize link_srv in virtual env
authorMartin Leung <Martin.Leung@amd.com>
Fri, 10 Mar 2023 03:42:14 +0000 (22:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 04:59:37 +0000 (00:59 -0400)
commitb5006f873b99a26f8bd36d691c09083495bc0a03
treeb97bdd614322ec443423ec67514b91b0089ba470
parent426714f89f7081ce8bf83546219eed6ea1511891
drm/amd/display: initialize link_srv in virtual env

[why]
when refactoring to link_srv, we did not include the
virtual environment case where dc_construct_ctx gets
called instead of dc_construct

[how]
add initialize link_srv to dc_construct_ctx as well

Reviewed-by: Leo Ma <hanghong.ma@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Martin Leung <Martin.Leung@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.c