]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit901ca0ff854ea50d6bae324a6defe1474f159f03
tree1bdd57e341926ad4fc1db527dde371b2f5a35b21
parent839aaaa42937e971ec5b349848a332a0dfe19b1d
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