]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amd/display: add flag to allow diag to force enumerate edp
authorJun Lei <Jun.Lei@amd.com>
Tue, 1 Oct 2019 15:31:37 +0000 (11:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:08 +0000 (16:50 -0400)
commit22631bb8ca58b14bd5cbd583479e7cdda763cd1d
tree69a0dc48ecdd0a8a2d94d18230ce1d729350a154
parentd5ac4ff211a3208b343c2c4d8a8da82f3ce4e948
drm/amd/display: add flag to allow diag to force enumerate edp

[why]
SLT tests require that diag can drive eDP even if nothing is connected, this is not
typical production use case, so we need to add flag

[how]
add flag, and this flag supercedes "should destroy" logic

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@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