drm/amd/display: add query HPD interface.
authorChiawen Huang <chiawen.huang@amd.com>
Wed, 5 Sep 2018 12:34:57 +0000 (20:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 20:47:56 +0000 (15:47 -0500)
commit16f4c69549ef676bc278be8b267a811b6f8f59ad
treee5f8aaab544f2b3fae8b509d7286199ddfeb68b8
parentcac7643a27ff15a3be2bf375fe7abd4cced228c3
drm/amd/display: add query HPD interface.

[Why]
current dc_link_detect function is not only detection but also update some link data.

[How]
added a pure get HPD state function.

Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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_link.c
drivers/gpu/drm/amd/display/dc/dc_link.h