Commit b5006f87 authored by Martin Leung's avatar Martin Leung Committed by Alex Deucher

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: default avatarLeo Ma <hanghong.ma@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarMartin Leung <Martin.Leung@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 426714f8
......@@ -887,6 +887,7 @@ static bool dc_construct_ctx(struct dc *dc,
}
dc->ctx = dc_ctx;
dc->link_srv = link_create_link_service();
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment