drm/amd/display: only check available pipe to disable vbios mode.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 16 Oct 2020 13:25:05 +0000 (09:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:29:54 +0000 (15:29 -0500)
commit850d2fcf3e346a35e4e59e310b867e90e3ef8e5a
treeed579477e410198e68f54df405c669595f36622a
parent3e5b4cdf2668cb90bea1c8076e5a430e5ac451b9
drm/amd/display: only check available pipe to disable vbios mode.

[Why & How]
1. only need to check first ODM pipe.
2. Only need to check eDP which is on.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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.c