drm/amd/display: fix bug with check for HPD Low in verify link cap
authorSivapiriyan Kumarasamy <sivapiriyan.kumarasamy@amd.com>
Thu, 12 Sep 2019 19:55:44 +0000 (15:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Oct 2019 00:32:39 +0000 (19:32 -0500)
commit82db2e3c39dbe9dcbfbd78aa6341647554faaaf9
treef803390b128c66542890cf37e35ac1c4876520ee
parent15caeabc5787c15babad7ee444afe9c26df1c8b3
drm/amd/display: fix bug with check for HPD Low in verify link cap

[Why]
There is a bug when determining if link training should be retried when
HPD is low in dp_verify_link_cap_with_retries.

[How]
Correctly, fail dp_verify_link_cap_with_retries without retry when
HPD is low.

Signed-off-by: Sivapiriyan Kumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Abdoulaye Berthe <Abdoulaye.Berthe@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_dp.c