drm/amd/display: skip enable stream on disconnected display
authorWenjing Liu <Wenjing.Liu@amd.com>
Tue, 3 Sep 2019 21:15:48 +0000 (17:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:24:39 +0000 (19:24 -0500)
commitef5a7d266e828e45b88cbbc36f69b2d12464375c
treeb82e8c65805eb2c01cc6728337a6618c0a786f4d
parent1cb1d47741bf02d7fd570aab11103041cd512a5d
drm/amd/display: skip enable stream on disconnected display

[why]
Virtual signal means there is no display attached.
In this case we will assign a virtual signal type to the stream.
We should only enable the front end of the stream but not the back end.

[how]
When stream is enabling with virtual signal type, skip backend programming.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c