drm/amd/display: Skip DIG Check if Link is Virtual for Display Count
authorSung Lee <sung.lee@amd.com>
Tue, 24 Sep 2019 17:20:33 +0000 (13:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:34:41 +0000 (19:34 -0500)
commita0dd575b7b9ad356a615e141068bdca6dee0bced
treeb81b6e66876f65141e885ac6bf0bb4246c6929d8
parent4a36fcbaec4e9beebf3023c95b2f4a76dbf7fd73
drm/amd/display: Skip DIG Check if Link is Virtual for Display Count

[WHY]
Without a check for virtual links, every link's DIG was getting
checked for enabled or disabled. If link was virtual, since it
did not have a DIG, this would cause issues.

[HOW]
Skip DIG Enable check if link is virtual and add virtual link to
to display count.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@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/clk_mgr/dcn21/rn_clk_mgr.c