drm/amd/display: Added dc_edp_id_count to dc_context
authorJake Wang <haonan.wang2@amd.com>
Tue, 23 Mar 2021 17:51:19 +0000 (13:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:51:52 +0000 (16:51 -0400)
commit3306ace54efbf48960dfc0fc87aae026c21a6d2c
treeb33820bc3a65d94a5cfbc40caddade5ac49f1e56
parent37bedd9929b925b25a4b5397d7f32d3600067688
drm/amd/display: Added dc_edp_id_count to dc_context

[Why]
We need to keep track of the number of eDP links to
properly enumerate edp panel control instance.

[How]
Added dc_edp_id_count to dc_context to keep track of
number of eDP links.

Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_types.h