drm/amd/display: verify stream link before link test
authorJing Zhou <Jing.Zhou@amd.com>
Thu, 22 Aug 2019 06:26:33 +0000 (14:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 23:03:28 +0000 (18:03 -0500)
commitb131932215c993ea5adf8192d1de2e8d6b23048d
treee9f9ebaa32303e4a3f8ad9de8e5dff855dbb5e45
parentd6bbece2c419debff6fc6b3c7a59fbede53bdef3
drm/amd/display: verify stream link before link test

[Why]
DP1.2 LL CTS test failure.

[How]
The failure is caused by not verify stream link is equal
to link, only check stream and link is not null.

Signed-off-by: Jing Zhou <Jing.Zhou@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@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_link_hwss.c