diff options
author | Zhan Liu <zhan.liu@amd.com> | 2019-07-02 15:17:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-18 14:17:20 -0500 |
commit | 58caae27df41d2ef3b1ae3bd06284da5b85ac288 (patch) | |
tree | de63a1bfbf3cd380a71688ae9cddef23adf435af | |
parent | 6ac25e6d5b2fbf251e9fa2f4131d42c815b43867 (diff) | |
download | linux-stable-58caae27df41d2ef3b1ae3bd06284da5b85ac288.tar.gz linux-stable-58caae27df41d2ef3b1ae3bd06284da5b85ac288.tar.bz2 linux-stable-58caae27df41d2ef3b1ae3bd06284da5b85ac288.zip |
drm/amd/display: drop ASSERT() if eDP panel is not connected
[Why]
For boards that support eDP but do not have a physical eDP
display connected an ASSERT will be thrown. This is not a
critical failure and shouldn't be treated as such.
[How]
Drop the assertion.
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index f9bed7c65b43..909b8f03346e 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -554,8 +554,6 @@ static void read_edp_current_link_settings_on_detect(struct dc_link *link) msleep(8); } - ASSERT(status == DC_OK); - // Read DPCD 00100h to find if standard link rates are set core_link_read_dpcd(link, DP_LINK_BW_SET, &link_bw_set, sizeof(link_bw_set)); |