drm/amd/display: add support for disconnected eDP panels
authorJun Lei <Jun.Lei@amd.com>
Mon, 15 Apr 2019 18:52:25 +0000 (14:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:49 +0000 (12:20 -0500)
commit8dea49605f6e21b5b380b0cae7f1f1160675e3ee
tree1bdd57e341926ad4fc1db527dde371b2f5a35b21
parent21e471f0850de874b2afa54f19ef7886490b99fe
drm/amd/display: add support for disconnected eDP panels

[why]
On some configurations, eDP from GPU is muxed with another GPU.  DC does
not know state of mux, but DM has this knowledge.  This flag allows DC to ignore
creating EDP link when DM informs DC that EDP mux is not connected.

[how]
Add flag to dc, populate flag in DM

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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.c
drivers/gpu/drm/amd/display/dc/dc.h